docker-compose/bookstack/docker-compose.yml

37 lines
800 B
YAML
Raw Normal View History

2023-01-31 03:04:40 +02:00
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
2023-01-31 03:13:35 +02:00
bookstack_db:
2023-01-31 03:04:40 +02:00
image: lscr.io/linuxserver/mariadb
container_name: bookstack_db
environment:
PUID: 1000
PGID: 1000
2023-01-31 03:49:46 +02:00
MYSQL_ROOT_PASSWORD: ${DB_PASS}
2023-01-31 03:04:40 +02:00
TZ: ${TZ}
MYSQL_DATABASE: ${DB_DATABASE}
MYSQL_USER: ${DB_USER}
MYSQL_PASS: ${DB_PASS}
volumes:
- bookstack:/config
restart: unless-stopped
volumes:
2023-01-31 03:13:35 +02:00
bookstack: