37 lines
950 B
YAML
37 lines
950 B
YAML
---
|
|
version: "2"
|
|
services:
|
|
bookstack:
|
|
image: lscr.io/linuxserver/bookstack
|
|
container_name: bookstack
|
|
environment:
|
|
- PUID=1002
|
|
- PGID=100
|
|
- APP_URL=http://192.168.0.69:6875
|
|
- DB_HOST=bookstack_db
|
|
- DB_USER=bookstack
|
|
- DB_PASS=bockstack
|
|
- DB_DATABASE=bookstackapp
|
|
volumes:
|
|
- /srv/dev-disk-by-uuid-cda15581-b397-4ab7-8698-acea81fc1e9c/bookstack/config:/config
|
|
ports:
|
|
- 6875:80
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- bookstack_db
|
|
bookstack_db:
|
|
image: lscr.io/linuxserver/mariadb
|
|
container_name: bookstack_db
|
|
environment:
|
|
- PUID=1002
|
|
- PGID=100
|
|
- MYSQL_ROOT_PASSWORD=bookstack
|
|
- TZ=Europe/Vienna
|
|
- MYSQL_DATABASE=bookstackapp
|
|
- MYSQL_USER=bookstack
|
|
- MYSQL_PASSWORD=bockstack
|
|
volumes:
|
|
- /srv/dev-disk-by-uuid-cda15581-b397-4ab7-8698-acea81fc1e9c/bookstack/config:/config
|
|
restart: unless-stopped
|
|
|