forked from baron/baron-sso
production 푸시 초안
This commit is contained in:
@@ -56,7 +56,7 @@ services:
|
||||
- APP_ENV=stage
|
||||
- API_PROXY_TARGET=http://baron_backend:3000
|
||||
ports:
|
||||
- "${DEVFRONT_PORT:-5174}:5173"
|
||||
- "${DEVFRONT_PORT:-5174}:5174"
|
||||
networks:
|
||||
- baron_net
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ services:
|
||||
- APP_ENV=production
|
||||
- API_PROXY_TARGET=http://baron_backend:${BACKEND_PORT:-3000}
|
||||
ports:
|
||||
- "${DEVFRONT_PORT:-5174}:5173"
|
||||
- "${DEVFRONT_PORT:-5174}:5174"
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
@@ -464,11 +464,11 @@ services:
|
||||
- APP_ENV=${APP_ENV:-stage}
|
||||
- API_PROXY_TARGET=http://baron_backend:3000
|
||||
ports:
|
||||
- "${DEVFRONT_PORT:-5174}:5173"
|
||||
- "${DEVFRONT_PORT:-5174}:5174"
|
||||
networks:
|
||||
- baron_net
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:5173/').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
test: ["CMD-SHELL", "node -e \"fetch('http://127.0.0.1:5174/').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))\""]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 12
|
||||
|
||||
Reference in New Issue
Block a user