]> Untitled Git - lemmy.git/commitdiff
Only bind to local ports in docker-compose.yml
authorFelix Ableitner <me@nutomic.com>
Wed, 16 Oct 2019 09:01:47 +0000 (11:01 +0200)
committerFelix Ableitner <me@nutomic.com>
Wed, 16 Oct 2019 09:01:47 +0000 (11:01 +0200)
docker/dev/docker-compose.yml
docker/nocross/docker-compose.yml
docker/prod/docker-compose.yml

index 68bb9282fb6b62835bd9571e544a501b0f3d0658..2a7a88ecd7295bc22ed6ac3f7d3490e374f9b825 100644 (file)
@@ -14,7 +14,7 @@ services:
       context: ../../
       dockerfile: docker/dev/Dockerfile
     ports:
-      - "8536:8536"
+      - "127.0.0.1:8536:8536"
     environment:
       - LEMMY_FRONT_END_DIR=/app/dist
       - DATABASE_URL=${DATABASE_URL}
@@ -32,7 +32,7 @@ services:
   lemmy_pictshare:
     image: hascheksolutions/pictshare:latest
     ports:
-      - "8537:80"
+      - "127.0.0.1:8537:80"
     volumes:
       - lemmy_pictshare:/usr/share/nginx/html/data
 volumes:
index ac77e3272cf113277e0f4469ae1a83fda838269c..d92810adbcbb84c02291b2c936dceb8d61d2f18d 100644 (file)
@@ -14,7 +14,7 @@ services:
       context: ../../
       dockerfile: docker/nocross/Dockerfile
     ports:
-      - "8536:8536"
+      - "127.0.0.1:8536:8536"
     environment:
       - LEMMY_FRONT_END_DIR=/app/dist
       - DATABASE_URL=${DATABASE_URL}
index 31920df28eca4899ad24ec0cc1eae23ba8f4ad9a..0e30de66dcc1311111fbbb24855580435499d3c2 100644 (file)
@@ -12,7 +12,7 @@ services:
   lemmy:
     image: dessalines/lemmy:v0.3.0
     ports:
-      - "8536:8536"
+      - "127.0.0.1:8536:8536"
     environment:
       - LEMMY_FRONT_END_DIR=/app/dist
       - DATABASE_URL=${DATABASE_URL}
@@ -30,7 +30,7 @@ services:
   lemmy_pictshare:
     image: hascheksolutions/pictshare:latest
     ports:
-      - "8537:80"
+      - "127.0.0.1:8537:80"
     volumes:
       - lemmy_pictshare:/usr/share/nginx/html/data
 volumes: