1
0
forked from baron/baron-sso

gateway 분리 적용

This commit is contained in:
Lectom C Han
2026-02-02 11:05:25 +09:00
parent 9e9c622600
commit a0ebf7a48d
3 changed files with 53 additions and 22 deletions

View File

@@ -48,6 +48,24 @@ services:
networks:
- baron_net
gateway:
build:
context: ./gateway
dockerfile: Dockerfile
container_name: baron_gateway
restart: always
ports:
- "${USERFRONT_PORT:-5000}:5000"
networks:
- baron_net
- public_net
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:5000/"]
interval: 10s
timeout: 5s
retries: 3
start_period: 10s
volumes:
postgres_data:
clickhouse_data:
@@ -58,3 +76,7 @@ networks:
name: baron_net
external: true
driver: bridge
public_net:
name: public_net
external: true