Created
March 8, 2020 13:17
-
-
Save ssddanbrown/6ebd6625c4ca4236b8736979a3962a81 to your computer and use it in GitHub Desktop.
BookStack docker-compose windows setup example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: "2" | |
services: | |
bookstack: | |
image: linuxserver/bookstack | |
container_name: bookstack | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- DB_HOST=bookstack_db | |
- DB_USER=bookstack | |
- DB_PASS=supersecretpassword | |
- DB_DATABASE=bookstackapp | |
- APP_URL=http://localhost:6875 | |
volumes: | |
- ./bs-data:/config | |
ports: | |
- 6875:80 | |
restart: unless-stopped | |
depends_on: | |
- bookstack_db | |
bookstack_db: | |
image: mysql:5.7 | |
container_name: bookstack_db | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- MYSQL_ROOT_PASSWORD=supersecretpassword | |
- TZ=Europe/London | |
- MYSQL_DATABASE=bookstackapp | |
- MYSQL_USER=bookstack | |
- MYSQL_PASSWORD=supersecretpassword | |
volumes: | |
- ./bs-db:/var/lib/mysql | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment