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:
+4
-2
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user