[Compose] Disable strict mode in MariaDB 10.2 (temp.), skip most DNS resolving in MariaDB, fix MariaDB healthcheck by using a valid user, set larger MariaDB packet size

master
andryyy 2017-09-12 20:59:24 +02:00
parent 998523bdfa
commit 79985ad7ed
1 changed files with 5 additions and 5 deletions

View File

@ -23,10 +23,10 @@ services:
- unbound - unbound
mysql-mailcow: mysql-mailcow:
image: mariadb:10.1 image: mariadb:10.2
command: mysqld --max_allowed_packet=128M --max-connections=1500 command: mysqld --max_allowed_packet=192M --max-connections=1500 --innodb-strict-mode=0 --skip-host-cache --skip-name-resolve --log-warnings=0
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "--host", "localhost", "--silent"] test: ["CMD", "mysqladmin", "-u$DBUSER", "-p$DBPASS", "ping", "-h", "localhost"]
interval: 5s interval: 5s
timeout: 5s timeout: 5s
retries: 10 retries: 10
@ -108,7 +108,7 @@ services:
- rspamd - rspamd
php-fpm-mailcow: php-fpm-mailcow:
image: mailcow/phpfpm:1.0 image: mailcow/phpfpm:1.1
build: ./data/Dockerfiles/phpfpm build: ./data/Dockerfiles/phpfpm
command: "php-fpm -d date.timezone=${TZ}" command: "php-fpm -d date.timezone=${TZ}"
depends_on: depends_on:
@ -140,7 +140,7 @@ services:
- phpfpm - phpfpm
sogo-mailcow: sogo-mailcow:
image: mailcow/sogo:1.7 image: mailcow/sogo:1.8
build: ./data/Dockerfiles/sogo build: ./data/Dockerfiles/sogo
depends_on: depends_on:
unbound-mailcow: unbound-mailcow: