[Compose] Less hammering on mailcow.email/ip.php, ability to disable IPv4 check in mailcow.conf, don't complain about missing ADDITIONAL_SAN

master
andryyy 2017-07-01 23:13:41 +02:00
parent 60ce236738
commit 6853130952
1 changed files with 8 additions and 7 deletions

View File

@ -10,9 +10,9 @@ services:
condition: service_healthy condition: service_healthy
healthcheck: healthcheck:
test: ["CMD", "nslookup", "mailcow.email", "127.0.0.1"] test: ["CMD", "nslookup", "mailcow.email", "127.0.0.1"]
interval: 60s interval: 120s
timeout: 5s timeout: 7s
retries: 5 retries: 10
volumes: volumes:
- ./data/conf/unbound/unbound.conf:/etc/unbound/unbound.conf:ro - ./data/conf/unbound/unbound.conf:/etc/unbound/unbound.conf:ro
restart: always restart: always
@ -27,9 +27,9 @@ services:
command: mysqld --max_allowed_packet=128M command: mysqld --max_allowed_packet=128M
healthcheck: healthcheck:
test: ["CMD", "mysqladmin", "ping", "--host", "localhost", "--silent"] test: ["CMD", "mysqladmin", "ping", "--host", "localhost", "--silent"]
interval: 10s interval: 60s
timeout: 30s timeout: 7s
retries: 5 retries: 10
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
@ -299,12 +299,13 @@ services:
- 172.22.1.254 - 172.22.1.254
dns_search: mailcow-network dns_search: mailcow-network
environment: environment:
- ADDITIONAL_SAN=${ADDITIONAL_SAN} - ADDITIONAL_SAN=${ADDITIONAL_SAN:-}
- MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME} - MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME}
- DBNAME=${DBNAME} - DBNAME=${DBNAME}
- DBUSER=${DBUSER} - DBUSER=${DBUSER}
- DBPASS=${DBPASS} - DBPASS=${DBPASS}
- SKIP_LETS_ENCRYPT=${SKIP_LETS_ENCRYPT:-n} - SKIP_LETS_ENCRYPT=${SKIP_LETS_ENCRYPT:-n}
- SKIP_IP_CHECK=${SKIP_IP_CHECK:-n}
volumes: volumes:
- ./data/web/.well-known/acme-challenge:/var/www/acme:rw - ./data/web/.well-known/acme-challenge:/var/www/acme:rw
- ./data/assets/ssl:/var/lib/acme/:rw - ./data/assets/ssl:/var/lib/acme/:rw