36 lines
812 B
YAML
36 lines
812 B
YAML
|
version: '3.8'
|
||
|
services:
|
||
|
bookstack:
|
||
|
image: lscr.io/linuxserver/bookstack
|
||
|
container_name: bookstack
|
||
|
environment:
|
||
|
PUID: 1000
|
||
|
PGID: 1000
|
||
|
APP_URL: ${APP_URL}
|
||
|
DB_HOST: bookstack_db
|
||
|
DB_PORT: 3306
|
||
|
DB_USER: ${DB_USER}
|
||
|
DB_PASS: ${DB_PASS}
|
||
|
DB_DATABASE: ${DB_DATABASE}
|
||
|
volumes:
|
||
|
- bookstack:/config
|
||
|
ports:
|
||
|
- 6875:80
|
||
|
depends_on:
|
||
|
- bookstack_db
|
||
|
boockstack_db:
|
||
|
image: lscr.io/linuxserver/mariadb
|
||
|
container_name: bookstack_db
|
||
|
environment:
|
||
|
PUID: 1000
|
||
|
PGID: 1000
|
||
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
||
|
TZ: ${TZ}
|
||
|
MYSQL_DATABASE: ${DB_DATABASE}
|
||
|
MYSQL_USER: ${DB_USER}
|
||
|
MYSQL_PASS: ${DB_PASS}
|
||
|
volumes:
|
||
|
- bookstack:/config
|
||
|
restart: unless-stopped
|
||
|
volumes:
|
||
|
bookstack:
|