diff --git a/compose-plesk.yaml b/compose-plesk.yaml index 90711702..48ae6a6b 100644 --- a/compose-plesk.yaml +++ b/compose-plesk.yaml @@ -6,8 +6,7 @@ services: frontend: image: portal-frontend:latest container_name: portal-frontend - ports: - - "127.0.0.1:3000:3000" + network_mode: host environment: - NODE_ENV=production - PORT=3000 @@ -26,11 +25,7 @@ services: backend: image: portal-backend:latest container_name: portal-backend - ports: - - "127.0.0.1:4000:4000" - links: - - database - - cache + network_mode: host environment: - NODE_ENV=production - PORT=4000 @@ -79,6 +74,7 @@ services: database: image: postgres:17-alpine container_name: portal-database + network_mode: host environment: - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_USER=${POSTGRES_USER} @@ -96,6 +92,7 @@ services: cache: image: redis:7-alpine container_name: portal-cache + network_mode: host volumes: - redis_data:/data restart: unless-stopped