34 lines
No EOL
864 B
YAML
34 lines
No EOL
864 B
YAML
---
|
|
version: "2"
|
|
services:
|
|
bookstack:
|
|
image: linuxserver/bookstack
|
|
container_name: bookstack
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- DB_HOST=bookstack_db
|
|
- DB_USER=bookstack
|
|
- DB_PASS=${Database_Password}
|
|
- DB_DATABASE=bookstackapp
|
|
volumes:
|
|
- /portainer/Files/AppData/Bookstack/Data:/config
|
|
ports:
|
|
- 6875:80
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- bookstack_db
|
|
bookstack_db:
|
|
image: linuxserver/mariadb
|
|
container_name: bookstack_db
|
|
environment:
|
|
- PUID=${PUID}
|
|
- PGID=${PGID}
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
- TZ=${Timezone}
|
|
- MYSQL_DATABASE=bookstackapp
|
|
- MYSQL_USER=bookstack
|
|
- MYSQL_PASSWORD=${Database_Password}
|
|
volumes:
|
|
- /portainer/Files/AppData/Bookstack/DB:/config
|
|
restart: unless-stopped |