Migrate some stacks from SelfHosted to novespirit (#123)

This commit is contained in:
Robert Middleswarth
2021-11-05 01:12:42 -04:00
committed by GitHub
parent ed1440a33e
commit e4bde5d8db
5 changed files with 79 additions and 9 deletions

34
stack/bookstack.yml Normal file
View File

@@ -0,0 +1,34 @@
---
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/Config/Bookstack/Data:/config
ports:
- ${PORT}: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/Config/Bookstack/DB:/config
restart: unless-stopped