Change ports in docker-compose file if needed

master
andryyy 2017-01-01 21:26:51 +01:00
parent c0b31ff2d4
commit b53df6e088
1 changed files with 8 additions and 8 deletions

View File

@ -127,11 +127,11 @@ services:
- DBUSER=${DBUSER} - DBUSER=${DBUSER}
- DBPASS=${DBPASS} - DBPASS=${DBPASS}
ports: ports:
- "${IMAP_PORT}:143" - "143:143"
- "${IMAPS_PORT}:993" - "993:993"
- "${POP_PORT}:110" - "110:110"
- "${POPS_PORT}:995" - "995:995"
- "${SIEVE_PORT}:4190" - "4190:4190"
dns: dns:
- 172.22.1.254 - 172.22.1.254
dns_search: mailcow-network dns_search: mailcow-network
@ -152,9 +152,9 @@ services:
- DBUSER=${DBUSER} - DBUSER=${DBUSER}
- DBPASS=${DBPASS} - DBPASS=${DBPASS}
ports: ports:
- "${SMTP_PORT}:25" - "25:25"
- "${SMTPS_PORT}:465" - "465:465"
- "${SUBMISSION_PORT}:587" - "587:587"
restart: always restart: always
hostname: ${MAILCOW_HOSTNAME} hostname: ${MAILCOW_HOSTNAME}
dns: dns: