Remove containers bind address since server has 2 IPs

This commit is contained in:
Paul-Henri Froidmont 2018-01-06 01:14:08 +01:00
parent 830f6a5609
commit 9f7679c7aa

View file

@ -17,11 +17,11 @@ services:
restart: always restart: always
env_file: .env env_file: .env
ports: ports:
- "$BIND_ADDRESS:110:110" - "110:110"
- "$BIND_ADDRESS:143:143" - "143:143"
- "$BIND_ADDRESS:993:993" - "993:993"
- "$BIND_ADDRESS:995:995" - "995:995"
- "$BIND_ADDRESS:4190:4190" - "4190:4190"
volumes: volumes:
- "$ROOT/data:/data" - "$ROOT/data:/data"
- "$ROOT/mail:/mail" - "$ROOT/mail:/mail"
@ -34,9 +34,9 @@ services:
restart: always restart: always
env_file: .env env_file: .env
ports: ports:
- "$BIND_ADDRESS:25:25" - "25:25"
- "$BIND_ADDRESS:465:465" - "465:465"
- "$BIND_ADDRESS:587:587" - "587:587"
volumes: volumes:
- "$ROOT/data:/data" - "$ROOT/data:/data"
- "../proxy/nginx/certs/${DOMAIN}.crt:/certs/cert.pem" - "../proxy/nginx/certs/${DOMAIN}.crt:/certs/cert.pem"