37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
bookstack:
|
|
image: ghcr.io/linuxserver/bookstack
|
|
container_name: bookstack
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- APP_URL=${APP_URL}
|
|
- DB_HOST=bookstack_db
|
|
- DB_USER=${MYSQL_USER}
|
|
- DB_PASS=${MYSQL_PASSWORD}
|
|
- DB_DATABASE=${MYSQL_DATABASE}
|
|
volumes:
|
|
- ./config/bookstack:/config
|
|
ports:
|
|
- 6875:80
|
|
restart: unless-stopped
|
|
depends_on:
|
|
- bookstack_db
|
|
|
|
bookstack_db:
|
|
image: ghcr.io/linuxserver/mariadb
|
|
container_name: bookstack_db
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD}
|
|
- TZ=Europe/Copenhagen
|
|
- MYSQL_DATABASE=${MYSQL_DATABASE}
|
|
- MYSQL_USER=${MYSQL_USER}
|
|
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
|
|
volumes:
|
|
- ./config/db:/config
|
|
restart: unless-stopped
|