Update docker-compose.yml

This commit is contained in:
Baobhan Sith
2025-05-08 19:01:17 +08:00
committed by GitHub
parent 3bd2870716
commit ce5f085483
+8 -8
View File
@@ -6,7 +6,7 @@ services:
- "18111:80" - "18111:80"
depends_on: depends_on:
- backend - backend
- rdp - remote-gateway
networks: networks:
- nexus-terminal-network - nexus-terminal-network
@@ -14,24 +14,24 @@ services:
image: heavrnl/nexus-terminal-backend:latest image: heavrnl/nexus-terminal-backend:latest
container_name: nexus-terminal-backend container_name: nexus-terminal-backend
env_file: env_file:
- .env - .env
environment: environment:
NODE_ENV: production NODE_ENV: production
PORT: 3001 PORT: 3001
RDP_BACKEND_API_BASE: http://rdp:9090 REMOTE_GATEWAY_API_BASE: http://remote-gateway:9090
volumes: volumes:
- ./data:/app/data - ./data:/app/data
networks: networks:
- nexus-terminal-network - nexus-terminal-network
rdp: remote-gateway:
image: heavrnl/nexus-terminal-rdp image: heavrnl/nexus-terminal-remote-gateway:latest
container_name: nexus-terminal-rdp container_name: nexus-terminal-remote-gateway
environment: environment:
GUACD_HOST: guacd GUACD_HOST: guacd
GUACD_PORT: 4822 GUACD_PORT: 4822
API_PORT: 9090 REMOTE_GATEWAY_API_PORT: 9090
GUAC_WS_PORT: 8081 REMOTE_GATEWAY_WS_PORT: 8080
FRONTEND_URL: http://frontend FRONTEND_URL: http://frontend
MAIN_BACKEND_URL: http://backend:3001 MAIN_BACKEND_URL: http://backend:3001
NODE_ENV: production NODE_ENV: production