Skip to content

Commit

Permalink
Change port gateway on service gateway in docker compose prod
Browse files Browse the repository at this point in the history
  • Loading branch information
DavyR01 committed Jul 7, 2024
1 parent 7a13202 commit 50ba3fd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GATEWAY_PORT=6500
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ node_modules
/blob-report/
/playwright/.cache/
.env
logs

logs
# Fait référence aux logs générés par le service ou container gateway (nginx)
4 changes: 3 additions & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ services:
- backend
- frontend
restart: always
# env_file: .env.prod
ports:
- ${GATEWAY_PORT:-7000}:80
# - ${GATEWAY_PORT}:80
- 7000:80
# - 7000:80
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
# - pgdata_new1:/pgdata_new1
Expand Down

0 comments on commit 50ba3fd

Please sign in to comment.