forked from baron/baron-sso
port 통일
This commit is contained in:
@@ -87,7 +87,9 @@ jobs:
|
||||
sbom: false
|
||||
|
||||
- name: Temporarily update frontend nginx port
|
||||
run: sed -i 's/listen 5000;/listen 80;/g' frontend/nginx.conf
|
||||
run: |
|
||||
sed -i 's/listen 5000;/listen 80;/g' frontend/nginx.conf
|
||||
sed -i 's/proxy_pass http:\/\/baron_backend:3000;/proxy_pass http:\/\/baron_backend:3010;/g' frontend/nginx.conf
|
||||
|
||||
- name: Build and push frontend RC image
|
||||
uses: docker/build-push-action@v5
|
||||
|
||||
@@ -17,11 +17,11 @@ services:
|
||||
- CLICKHOUSE_USER=${CLICKHOUSE_USER:-baron}
|
||||
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-password}
|
||||
ports:
|
||||
- "${BACKEND_PORT:-3000}:3000"
|
||||
- "${BACKEND_PORT:-3010}:3010"
|
||||
depends_on:
|
||||
- infra_check
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/health"]
|
||||
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3010/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user