runner_id_app=1000 runner_id_db=1000 TimeZone=Europe/Paris dbrootpass= dbpass= key=base64: ip=0.0.0.0 port=80 domain= data_dir=
38 lines
No EOL
968 B
Text
38 lines
No EOL
968 B
Text
services:
|
|
bookstack:
|
|
image: lscr.io/linuxserver/bookstack:latest
|
|
container_name: bookstack-${domain}-${ip}-${port}
|
|
environment:
|
|
- PUID=${runner_id_app}
|
|
- PGID=${runner_id_app}
|
|
- TZ=${TimeZone}
|
|
- APP_URL=https://${domain}
|
|
- APP_KEY=${key}
|
|
- DB_HOST=mariadb
|
|
- DB_PORT=3306
|
|
- DB_USERNAME=bsdbu
|
|
- DB_PASSWORD=${dbpass}
|
|
- DB_DATABASE=bsdb
|
|
depends_on:
|
|
- mariadb
|
|
volumes:
|
|
- ${data_dir}/config:/config
|
|
ports:
|
|
- ${ip}:${port}:80
|
|
restart: unless-stopped
|
|
|
|
mariadb:
|
|
image: lscr.io/linuxserver/mariadb:latest
|
|
container_name: mariadb
|
|
environment:
|
|
- PUID=${runner_id_db}
|
|
- PGID=${runner_id_db}
|
|
- TZ=${TimeZone}
|
|
- MYSQL_ROOT_PASSWORD=${dbrootpass}
|
|
- MYSQL_DATABASE=bsdb
|
|
- MYSQL_USER=bsdbu
|
|
- MYSQL_PASSWORD=${dbpass}
|
|
- MARIADB_ROOT_HOST=%
|
|
volumes:
|
|
- ${data_dir}/mariadb:/config
|
|
restart: unless-stopped |