refactor: unify HTTP API and WebSocket ports in docker-compose configuration
This commit is contained in:
@@ -6,12 +6,10 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: turtle-server
|
container_name: turtle-server
|
||||||
ports:
|
ports:
|
||||||
- "4200:3001" # HTTP API
|
- "4200:3001" # HTTP API + WebSocket (unified)
|
||||||
- "3002:3002" # WebSocket
|
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- PORT=3001
|
- PORT=3001
|
||||||
- WS_PORT=3002
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- turtle-network
|
- turtle-network
|
||||||
|
|||||||
Reference in New Issue
Block a user