1
0
forked from baron/baron-sso

ClickHouse 인증 설정 추가

This commit is contained in:
2026-01-06 10:31:11 +09:00
parent c512f0f4e6
commit fec4a1cd55
2 changed files with 20 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
version: '3.8'
version: "3.8"
services:
backend:
@@ -12,6 +12,8 @@ services:
- DB_HOST=postgres
- CLICKHOUSE_HOST=clickhouse
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT_NATIVE:-9000}
- CLICKHOUSE_USER=${CLICKHOUSE_USER:-baron}
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-password}
ports:
- "${BACKEND_PORT:-3000}:3000"
depends_on:
@@ -32,12 +34,22 @@ services:
- "${FRONTEND_PORT:-5000}:5000"
volumes:
- ./frontend:/app
command: ["flutter", "run", "-d", "web-server", "--web-port", "5000", "--web-hostname", "0.0.0.0"]
command:
[
"flutter",
"run",
"-d",
"web-server",
"--web-port",
"5000",
"--web-hostname",
"0.0.0.0",
]
networks:
- baron_net
# Dummy service to wait for infra network if needed,
# but essentially we assume infra is running.
# Dummy service to wait for infra network if needed,
# but essentially we assume infra is running.
# In a real unified stack, we might include infra here or use external links.
# Here we attach to the same network.
infra_check: