]> prime8.dev >> repos - p8d.git/commitdiff
Change ports
authorDamian Myrda <monkey.damianek@gmail.com>
Mon, 9 Sep 2024 03:35:04 +0000 (22:35 -0500)
committerDamian Myrda <monkey.damianek@gmail.com>
Mon, 9 Sep 2024 03:35:04 +0000 (22:35 -0500)
caddy
compose.yml

diff --git a/caddy b/caddy
index 8c80f55c1124974b132230889be8afc8cee938ad..673e6d04eb7b425c97cedc3fedf2ed3b2797f6c2 100644 (file)
--- 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 {}
index a2da1834d372525a541fa5cc5b08dae15342262a..b33491e6b95acccd4c342f6726e3327acb1259f1 100644 (file)
@@ -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: