TZ in mysql command breaks mysql on first start
parent
308c2f7e03
commit
085be87eb5
|
@ -9,12 +9,14 @@ services:
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
ipv4_address: 172.22.1.254
|
ipv4_address: 172.22.1.254
|
||||||
|
aliases:
|
||||||
|
- pdns
|
||||||
|
|
||||||
mysql-mailcow:
|
mysql-mailcow:
|
||||||
image: mariadb:10.1
|
image: mariadb:10.1
|
||||||
depends_on:
|
depends_on:
|
||||||
- pdns-mailcow
|
- pdns-mailcow
|
||||||
command: mysqld --default-time-zone="${TZ}"
|
command: mysqld
|
||||||
volumes:
|
volumes:
|
||||||
- mysql-vol-1:/var/lib/mysql/
|
- mysql-vol-1:/var/lib/mysql/
|
||||||
- ./data/conf/mysql/:/etc/mysql/conf.d/:ro
|
- ./data/conf/mysql/:/etc/mysql/conf.d/:ro
|
||||||
|
@ -29,6 +31,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- mysql
|
||||||
|
|
||||||
redis-mailcow:
|
redis-mailcow:
|
||||||
image: redis
|
image: redis
|
||||||
|
@ -42,6 +46,8 @@ services:
|
||||||
dns_search: mailcow-network
|
dns_search: mailcow-network
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- redis
|
||||||
|
|
||||||
rspamd-mailcow:
|
rspamd-mailcow:
|
||||||
image: andryyy/mailcow-dockerized:rspamd
|
image: andryyy/mailcow-dockerized:rspamd
|
||||||
|
@ -59,6 +65,8 @@ services:
|
||||||
dns_search: mailcow-network
|
dns_search: mailcow-network
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- rspamd
|
||||||
|
|
||||||
phpfpm-mailcow:
|
phpfpm-mailcow:
|
||||||
image: andryyy/mailcow-dockerized:phpfpm
|
image: andryyy/mailcow-dockerized:phpfpm
|
||||||
|
@ -80,6 +88,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- phpfpm
|
||||||
|
|
||||||
sogo-mailcow:
|
sogo-mailcow:
|
||||||
image: andryyy/mailcow-dockerized:sogo
|
image: andryyy/mailcow-dockerized:sogo
|
||||||
|
@ -100,6 +110,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- sogo
|
||||||
|
|
||||||
rmilter-mailcow:
|
rmilter-mailcow:
|
||||||
image: andryyy/mailcow-dockerized:rmilter
|
image: andryyy/mailcow-dockerized:rmilter
|
||||||
|
@ -113,6 +125,8 @@ services:
|
||||||
dns_search: mailcow-network
|
dns_search: mailcow-network
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- rmilter
|
||||||
|
|
||||||
dovecot-mailcow:
|
dovecot-mailcow:
|
||||||
image: andryyy/mailcow-dockerized:dovecot
|
image: andryyy/mailcow-dockerized:dovecot
|
||||||
|
@ -141,6 +155,8 @@ services:
|
||||||
hostname: ${MAILCOW_HOSTNAME}
|
hostname: ${MAILCOW_HOSTNAME}
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- dovecot
|
||||||
|
|
||||||
postfix-mailcow:
|
postfix-mailcow:
|
||||||
image: andryyy/mailcow-dockerized:postfix
|
image: andryyy/mailcow-dockerized:postfix
|
||||||
|
@ -164,6 +180,8 @@ services:
|
||||||
dns_search: mailcow-network
|
dns_search: mailcow-network
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- postfix
|
||||||
|
|
||||||
memcached-mailcow:
|
memcached-mailcow:
|
||||||
image: memcached
|
image: memcached
|
||||||
|
@ -175,6 +193,8 @@ services:
|
||||||
dns_search: mailcow-network
|
dns_search: mailcow-network
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- memcached
|
||||||
|
|
||||||
nginx-mailcow:
|
nginx-mailcow:
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -201,6 +221,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
aliases:
|
||||||
|
- nginx
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
mailcow-network:
|
mailcow-network:
|
||||||
|
|
Loading…
Reference in New Issue