mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 12:31:13 +00:00
39 lines
921 B
YAML
39 lines
921 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
bookstack:
|
||
|
image: linuxserver/bookstack
|
||
|
container_name: bookstack
|
||
|
hostname: bookstack
|
||
|
environment:
|
||
|
- PUID=1000
|
||
|
- PGID=1000
|
||
|
- APP_URL=https://wiki.example.com # change this
|
||
|
- DB_HOST=bookstack_db
|
||
|
- DB_USER=bookstack
|
||
|
- DB_PASS=USERPW1
|
||
|
- DB_DATABASE=bookstackapp
|
||
|
volumes:
|
||
|
- /mnt/docker-volumes/bookstack/config:/config
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- 8099:80
|
||
|
depends_on:
|
||
|
- bookstack_db
|
||
|
|
||
|
bookstack_db:
|
||
|
image: linuxserver/mariadb
|
||
|
container_name: bookstack_db
|
||
|
hostname: bookstack_db
|
||
|
environment:
|
||
|
- PUID=1000
|
||
|
- PGID=1000
|
||
|
- MYSQL_ROOT_PASSWORD=ROOTPW
|
||
|
- TZ=Europe/Berlin
|
||
|
- MYSQL_DATABASE=bookstackapp
|
||
|
- MYSQL_USER=bookstack
|
||
|
- MYSQL_PASSWORD=USERPW1
|
||
|
volumes:
|
||
|
- /mnt/docker-volumes/bookstack/mariadb-config:/config
|
||
|
restart: unless-stopped
|