[API] Allow to set API options in mailcow.conf, fixes #1457

This commit is contained in:
André
2018-06-08 09:11:03 +02:00
parent f15f30d53e
commit 6ded3dbd95
4 changed files with 46 additions and 5 deletions

View File

@@ -104,7 +104,7 @@ services:
- rspamd
php-fpm-mailcow:
image: mailcow/phpfpm:1.14
image: mailcow/phpfpm:1.15
build: ./data/Dockerfiles/phpfpm
command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
depends_on:
@@ -133,6 +133,8 @@ services:
- SUBMISSION_PORT=${SUBMISSION_PORT:-587}
- SMTPS_PORT=${SMTPS_PORT:-465}
- SMTP_PORT=${SMTP_PORT:-25}
- API_KEY=${API_KEY:-}
- API_ALLOW_FROM=${API_ALLOW_FROM:-}
restart: always
sysctls:
- net.ipv6.conf.all.disable_ipv6=${SYSCTL_IPV6_DISABLED:-0}