auto commit

This commit is contained in:
bangdk 2024-11-18 19:52:55 +09:00
parent b413a1aac4
commit e2b82498b9

View File

@ -11,11 +11,11 @@ services:
container_name: fems-admin
restart: unless-stopped
env_file:
- .env.${NODE_ENV:-production}
- .env.${NODE_ENV:-development}
ports:
- "${ADMIN_PORT}:3002"
environment:
- NODE_ENV=${NODE_ENV:-production}
- NODE_ENV=${NODE_ENV:-development}
volumes:
- ./fems-admin:/app
- /app/node_modules
@ -40,11 +40,11 @@ services:
container_name: fems-app
restart: unless-stopped
env_file:
- .env.${NODE_ENV:-production}
- .env.${NODE_ENV:-development}
ports:
- "${APP_PORT}:3003"
environment:
- NODE_ENV=${NODE_ENV:-production}
- NODE_ENV=${NODE_ENV:-development}
volumes:
- ./fems-app:/app
- /app/node_modules
@ -59,17 +59,14 @@ services:
container_name: fems-api
restart: unless-stopped
env_file:
- .env.${NODE_ENV:-production}
- .env.${NODE_ENV:-development}
ports:
- "${API_PORT}:3001"
environment:
- NODE_ENV=${NODE_ENV:-production}
- NODE_ENV=${NODE_ENV:-development}
volumes:
- ./fems-api:/app
- /app/node_modules
depends_on:
- postgres
# - redis
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3001/health"]
interval: 30s
@ -84,17 +81,16 @@ services:
container_name: fems-realtime-api
restart: unless-stopped
env_file:
- .env.${NODE_ENV:-production}
- .env.${NODE_ENV:-development}
ports:
- "${REALTIME_API_PORT}:3004"
environment:
- NODE_ENV=${NODE_ENV:-production}
- NODE_ENV=${NODE_ENV:-development}
volumes:
- ./fems-realtime-api:/app
- /app/node_modules
depends_on:
- fems-api
- postgres
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3004/health"]
interval: 30s