From 7ea4eca599786695585351924cc6453e1451a95d Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 16 Oct 2019 11:01:47 +0200 Subject: [PATCH] Only bind to local ports in docker-compose.yml --- docker/dev/docker-compose.yml | 4 ++-- docker/nocross/docker-compose.yml | 2 +- docker/prod/docker-compose.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/dev/docker-compose.yml b/docker/dev/docker-compose.yml index 68bb9282f..2a7a88ecd 100644 --- a/docker/dev/docker-compose.yml +++ b/docker/dev/docker-compose.yml @@ -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: diff --git a/docker/nocross/docker-compose.yml b/docker/nocross/docker-compose.yml index ac77e3272..d92810adb 100644 --- a/docker/nocross/docker-compose.yml +++ b/docker/nocross/docker-compose.yml @@ -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} diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 31920df28..0e30de66d 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -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: