Only bind to local ports in docker-compose.yml
This commit is contained in:
parent
e959727d32
commit
34932de39b
3 changed files with 5 additions and 5 deletions
4
docker/dev/docker-compose.yml
vendored
4
docker/dev/docker-compose.yml
vendored
|
@ -14,7 +14,7 @@ services:
|
||||||
context: ../../
|
context: ../../
|
||||||
dockerfile: docker/dev/Dockerfile
|
dockerfile: docker/dev/Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "8536:8536"
|
- "127.0.0.1:8536:8536"
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_FRONT_END_DIR=/app/dist
|
- LEMMY_FRONT_END_DIR=/app/dist
|
||||||
- DATABASE_URL=${DATABASE_URL}
|
- DATABASE_URL=${DATABASE_URL}
|
||||||
|
@ -32,7 +32,7 @@ services:
|
||||||
lemmy_pictshare:
|
lemmy_pictshare:
|
||||||
image: hascheksolutions/pictshare:latest
|
image: hascheksolutions/pictshare:latest
|
||||||
ports:
|
ports:
|
||||||
- "8537:80"
|
- "127.0.0.1:8537:80"
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_pictshare:/usr/share/nginx/html/data
|
- lemmy_pictshare:/usr/share/nginx/html/data
|
||||||
volumes:
|
volumes:
|
||||||
|
|
2
docker/nocross/docker-compose.yml
vendored
2
docker/nocross/docker-compose.yml
vendored
|
@ -14,7 +14,7 @@ services:
|
||||||
context: ../../
|
context: ../../
|
||||||
dockerfile: docker/nocross/Dockerfile
|
dockerfile: docker/nocross/Dockerfile
|
||||||
ports:
|
ports:
|
||||||
- "8536:8536"
|
- "127.0.0.1:8536:8536"
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_FRONT_END_DIR=/app/dist
|
- LEMMY_FRONT_END_DIR=/app/dist
|
||||||
- DATABASE_URL=${DATABASE_URL}
|
- DATABASE_URL=${DATABASE_URL}
|
||||||
|
|
4
docker/prod/docker-compose.yml
vendored
4
docker/prod/docker-compose.yml
vendored
|
@ -12,7 +12,7 @@ services:
|
||||||
lemmy:
|
lemmy:
|
||||||
image: dessalines/lemmy:v0.3.0
|
image: dessalines/lemmy:v0.3.0
|
||||||
ports:
|
ports:
|
||||||
- "8536:8536"
|
- "127.0.0.1:8536:8536"
|
||||||
environment:
|
environment:
|
||||||
- LEMMY_FRONT_END_DIR=/app/dist
|
- LEMMY_FRONT_END_DIR=/app/dist
|
||||||
- DATABASE_URL=${DATABASE_URL}
|
- DATABASE_URL=${DATABASE_URL}
|
||||||
|
@ -30,7 +30,7 @@ services:
|
||||||
lemmy_pictshare:
|
lemmy_pictshare:
|
||||||
image: hascheksolutions/pictshare:latest
|
image: hascheksolutions/pictshare:latest
|
||||||
ports:
|
ports:
|
||||||
- "8537:80"
|
- "127.0.0.1:8537:80"
|
||||||
volumes:
|
volumes:
|
||||||
- lemmy_pictshare:/usr/share/nginx/html/data
|
- lemmy_pictshare:/usr/share/nginx/html/data
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Reference in a new issue