From 8c50cf0bdffd362460c92859f2969009ce44f1bb Mon Sep 17 00:00:00 2001 From: Damian Myrda Date: Sun, 8 Sep 2024 22:35:04 -0500 Subject: [PATCH] Change ports --- caddy | 8 +------- compose.yml | 19 ++++++------------- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/caddy b/caddy index 8c80f55..673e6d0 100644 --- a/caddy +++ b/caddy @@ -16,10 +16,4 @@ prime8.dev { } } -mail.prime8.dev { - reverse_proxy mail:25 - reverse_proxy mail:143 - reverse_proxy mail:465 - reverse_proxy mail:587 - reverse_proxy mail:993 -} +mail.prime8.dev {} diff --git a/compose.yml b/compose.yml index a2da183..b33491e 100644 --- a/compose.yml +++ b/compose.yml @@ -28,13 +28,6 @@ services: ports: - "80:80" - "443:443" - - "25:25" - - "143:143" - - "465:465" - - "587:587" - - "993:993" - - "22:22" - - "9418:9418" networks: - common volumes: @@ -48,12 +41,12 @@ services: image: ghcr.io/docker-mailserver/docker-mailserver:latest hostname: mail.prime8.dev env_file: ./mail/env - expose: - - "25" - - "143" - - "465" - - "587" - - "993" + ports: + - "25:25" + - "143:143" + - "465:465" + - "587:587" + - "993:993" networks: - common volumes: -- 2.43.4