Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing 4000 port to be accessed remotely #3136

4 changes: 2 additions & 2 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
- NODE_ENV=${NODE_ENV:?error}
# https://docs.docker.com/reference/compose-file/build/#using-build-and-image
# https://docs.docker.com/reference/compose-file/build/#publishing-built-images
# https://docs.docker.com/reference/compose-file/services/#image
# https://docs.docker.com/reference/compose-file/services/#image
# image: ghcr.io/talawa/api:latest
# https://docs.docker.com/reference/dockerfile/#healthcheck
# https://docs.docker.com/reference/compose-file/services/#healthcheck
Expand Down Expand Up @@ -187,7 +187,7 @@ services:
# https://docs.docker.com/compose/environment-variables/
# https://docs.docker.com/reference/compose-file/services/#environment
environment:
# https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_db
# https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_db
- POSTGRES_DB=${POSTGRES_DB:?error}
# https://github.com/docker-library/docs/blob/master/postgres/README.md#postgres_password
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:?error}
Expand Down
8 changes: 4 additions & 4 deletions docker/compose.devcontainer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ services:
disable: true
# https://docs.docker.com/reference/compose-file/services/#ports
ports:
- host_ip: ${API_MAPPED_HOST_IP:?error}
name: api
published: ${API_MAPPED_PORT:?error}
target: ${API_PORT}
- host_ip: ${API_DEBUGGER_MAPPED_HOST_IP:?error}
name: api_debugger
published: ${API_DEBUGGER_MAPPED_PORT:?error}
target: ${API_DEBUGGER_PORT}
- host_ip: 0.0.0.0
MohitMaulekhi marked this conversation as resolved.
Show resolved Hide resolved
name: api
published: ${API_MAPPED_PORT:?error}
target: ${API_PORT}
# https://docs.docker.com/reference/compose-file/services/#restart
restart: unless-stopped
user: talawa
Expand Down
Loading