Optimized central databases

This commit is contained in:
2024-01-05 22:00:59 +01:00
parent fdfe9dee78
commit deec416abf
2 changed files with 13 additions and 0 deletions

View File

@@ -24,6 +24,12 @@
published_ports:
- "127.0.0.1:3306:3306" # can be that this will be removed if all applications use sockets
command: "--transaction-isolation=READ-COMMITTED --binlog-format=ROW" #for nextcloud
restart_policy: unless-stopped
healthcheck:
test: "/usr/bin/mariadb --user=root --password={{central_mariadb_root_password}} --execute \"SHOW DATABASES;\""
interval: 3s
timeout: 1s
retries: 5
when: run_once_docker_mariadb is not defined
- name: install python-mysqlclient