Skip to content

Commit

Permalink
update compose to test ui
Browse files Browse the repository at this point in the history
  • Loading branch information
syrk4web committed Dec 11, 2023
1 parent 6ef1513 commit 47350f5
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ services:
labels:
- "bunkerweb.INSTANCE=yes"
environment:
- SERVER_NAME=www.example.com
- SERVER_NAME=
- 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
Expand All @@ -20,9 +22,8 @@ services:
depends_on:
- bunkerweb
- bw-docker
volumes:
- bw-data:/data
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
Expand All @@ -38,6 +39,29 @@ services:
networks:
- bw-docker

bw-ui:
image: bunkerity/bunkerweb-ui:1.5.4
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:

Expand All @@ -51,4 +75,4 @@ networks:
bw-services:
name: bw-services
bw-docker:
name: bw-docker
name: bw-docker

0 comments on commit 47350f5

Please sign in to comment.