portainer_templates/Template/Stack/bookstack.yml

35 lines
868 B
YAML
Raw Normal View History

2020-06-05 17:27:36 +02:00
---
version: "2"
services:
bookstack:
image: linuxserver/bookstack
container_name: bookstack
environment:
- PUID=${PUID}
- PGID=${PGID}
- DB_HOST=bookstack_db
- DB_USER=bookstack
2020-06-05 17:54:51 +02:00
- DB_PASS=${DATABASE_PASSWORD}
2020-06-05 17:27:36 +02:00
- DB_DATABASE=bookstackapp
volumes:
- /portainer/Files/AppData/Bookstack/Data:/config
ports:
2020-06-05 17:50:58 +02:00
- ${PORT}:80
2020-06-05 17:27:36 +02:00
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
2020-06-05 17:54:51 +02:00
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
2020-06-05 17:27:36 +02:00
volumes:
- /portainer/Files/AppData/Bookstack/DB:/config
2020-06-08 21:02:45 +02:00
restart: unless-stopped