Skip to content

Commit

Permalink
bunkerweb
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesTurland committed Nov 6, 2024
1 parent 0e2ac61 commit 9b130eb
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions BunkerWeb/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
version: "3.5"

services:
bunkerweb:
image: bunkerity/bunkerweb:1.5.10
ports:
- 81:8080
- 4443:8443
labels:
- "bunkerweb.INSTANCE=yes"
environment:
- SERVER_NAME=jimsgarage
- MULTISITE=yes
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
- UI_HOST=http://bw-ui:7000 # Change it if needed
networks:
- bw-universe
- bw-services

bw-scheduler:
image: bunkerity/bunkerweb-scheduler:1.5.10
depends_on:
- bunkerweb
- bw-docker
environment:
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
- DOCKER_HOST=tcp://bw-docker:2375
networks:
- bw-universe
- bw-docker

bw-docker:
image: tecnativa/docker-socket-proxy:nightly
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CONTAINERS=1
- LOG_LEVEL=warning
networks:
- bw-docker

bw-ui:
image: bunkerity/bunkerweb-ui:1.5.10
depends_on:
- bw-docker
environment:
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
- DOCKER_HOST=tcp://bw-docker:2375
networks:
- bw-universe
- bw-docker

bw-db:
image: mariadb:10.10
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=db
- MYSQL_USER=bunkerweb
- MYSQL_PASSWORD=changeme # Remember to set a stronger password for the database
volumes:
- bw-data:/var/lib/mysql
networks:
- bw-docker

volumes:
bw-data:

networks:
bw-universe:
name: bw-universe
ipam:
driver: default
config:
- subnet: 10.20.30.0/24
bw-services:
name: bw-services
bw-docker:
name: bw-docker

0 comments on commit 9b130eb

Please sign in to comment.