remove exposed port from web service and change nginx port to 3000

This commit is contained in:
stubbsta 2024-06-07 15:40:45 +02:00
parent 93ae2ba75d
commit 7bfdcc1f54
No known key found for this signature in database

View File

@ -199,8 +199,6 @@ services:
web: web:
image: web3labs/epirus-free-web:latest image: web3labs/epirus-free-web:latest
ports:
- 0.0.0.0:3000:3000
environment: environment:
- API_URL=${EPIRUS_WEB_API_URL:-/api} - API_URL=${EPIRUS_WEB_API_URL:-/api}
- WS_API_URL=${EPIRUS_WEB_WS_API_URL:-ws://localhost:8090} - WS_API_URL=${EPIRUS_WEB_WS_API_URL:-ws://localhost:8090}
@ -230,7 +228,7 @@ services:
- ./nginx.conf:/etc/nginx/nginx.conf - ./nginx.conf:/etc/nginx/nginx.conf
- ./5xx.html:/www/error_pages/5xx.html - ./5xx.html:/www/error_pages/5xx.html
ports: ports:
- ${PORT:-80}:80 - 0.0.0.0:3000:80
depends_on: depends_on:
- api - api
- web - web