mariadb.yml aktualisiert
This commit is contained in:
parent
06c31d967f
commit
3ca7317728
@ -96,13 +96,14 @@
|
||||
# restart if new cert ist available
|
||||
if [ -n "$new" ]
|
||||
then
|
||||
# start mariadb if not initialized and down
|
||||
[ -s "db-data/mysql_upgrade_info" ] || docker compose up -d mariadb.{{inventory_hostname}}
|
||||
# wait if mariadb is not finished while initializing
|
||||
until [ -s "db-data/mysql_upgrade_info" ]
|
||||
do
|
||||
sleep 5
|
||||
done
|
||||
docker compose down
|
||||
docker compose up -d
|
||||
docker compose up -d --force-recreate
|
||||
fi
|
||||
|
||||
backup: yes
|
||||
@ -215,7 +216,7 @@
|
||||
traefik:
|
||||
external: true
|
||||
|
||||
backup: yes
|
||||
backup: yes
|
||||
notify: Restart mariadb
|
||||
|
||||
- name: Get letsencrypt cert from traefik
|
||||
|
Loading…
Reference in New Issue
Block a user