Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DB Tech Bookstack Swarm
---
version: "3"
services:
bookstack:
image: linuxserver/bookstack
deploy:
replicas: 1
update_config:
parallelism: 4
delay: 5s
restart_policy:
condition: on-failure
environment:
- PUID=1000
- PGID=1000
- DB_HOST=bookstack_db
- DB_USER=bookstack
- DB_PASS=yourdbpass
- DB_DATABASE=bookstackapp
volumes:
- bookstack:/config
ports:
- 6875:80
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: linuxserver/mariadb
deploy:
replicas: 1
update_config:
parallelism: 4
delay: 5s
restart_policy:
condition: on-failure
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=yourdbpass
- TZ=America/Denver
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=yourdbpass
volumes:
- bookstackdb:/config
restart: unless-stopped
volumes:
bookstack:
bookstackdb:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.