1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2026-06-07 15:13:22 +00:00

[Mysql] use python bootstrapper to start MYSQL container

This commit is contained in:
FreddleSpl0it
2025-05-22 07:54:29 +02:00
parent 55d90afee4
commit faf8fa8c2c
8 changed files with 138 additions and 5 deletions
+4 -2
View File
@@ -17,16 +17,18 @@ services:
- unbound
mysql-mailcow:
image: mariadb:10.11
image: ghcr.io/mailcow/mariadb:nightly-19052025
depends_on:
- unbound-mailcow
- netfilter-mailcow
stop_grace_period: 45s
volumes:
- ./data/hooks/mariadb:/hooks:z
- ./data/conf/mysql/:/etc/mysql/conf.d/:z
- mysql-vol-1:/var/lib/mysql/
- mysql-socket-vol-1:/var/run/mysqld/
- ./data/conf/mysql/:/etc/mysql/conf.d/:ro,Z
environment:
- CONTAINER_NAME=mysql-mailcow
- TZ=${TZ}
- MYSQL_ROOT_PASSWORD=${DBROOT}
- MYSQL_DATABASE=${DBNAME}