Ajout Compose Bookstack, Voir Description pour les variables initiales
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=
This commit is contained in:
parent
ebfe17fb15
commit
b99bb968c7
1 changed files with 38 additions and 0 deletions
38
bookstack.yaml.txt
Normal file
38
bookstack.yaml.txt
Normal file
|
@ -0,0 +1,38 @@
|
|||
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
|
Loading…
Add table
Reference in a new issue