Browse Source

Only bind to local ports in docker-compose.yml

Nutomic-local-bind
Felix Ableitner 2 years ago
parent
commit
7ea4eca599
  1. 4
      docker/dev/docker-compose.yml
  2. 2
      docker/nocross/docker-compose.yml
  3. 4
      docker/prod/docker-compose.yml

4
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:

2
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}

4
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:

Loading…
Cancel
Save