forked from baron/baron-sso
ClickHouse 인증 설정 추가
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
version: '3.8'
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
@@ -19,6 +19,9 @@ services:
|
|||||||
clickhouse:
|
clickhouse:
|
||||||
image: clickhouse/clickhouse-server:latest
|
image: clickhouse/clickhouse-server:latest
|
||||||
container_name: baron_clickhouse
|
container_name: baron_clickhouse
|
||||||
|
environment:
|
||||||
|
CLICKHOUSE_USER: ${CLICKHOUSE_USER:-baron}
|
||||||
|
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-password}
|
||||||
ports:
|
ports:
|
||||||
- "${CLICKHOUSE_PORT_HTTP:-8123}:8123"
|
- "${CLICKHOUSE_PORT_HTTP:-8123}:8123"
|
||||||
- "${CLICKHOUSE_PORT_NATIVE:-9000}:9000"
|
- "${CLICKHOUSE_PORT_NATIVE:-9000}:9000"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
version: '3.8'
|
version: "3.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
@@ -12,6 +12,8 @@ services:
|
|||||||
- DB_HOST=postgres
|
- DB_HOST=postgres
|
||||||
- CLICKHOUSE_HOST=clickhouse
|
- CLICKHOUSE_HOST=clickhouse
|
||||||
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT_NATIVE:-9000}
|
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT_NATIVE:-9000}
|
||||||
|
- CLICKHOUSE_USER=${CLICKHOUSE_USER:-baron}
|
||||||
|
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-password}
|
||||||
ports:
|
ports:
|
||||||
- "${BACKEND_PORT:-3000}:3000"
|
- "${BACKEND_PORT:-3000}:3000"
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -32,7 +34,17 @@ services:
|
|||||||
- "${FRONTEND_PORT:-5000}:5000"
|
- "${FRONTEND_PORT:-5000}:5000"
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend:/app
|
- ./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:
|
networks:
|
||||||
- baron_net
|
- baron_net
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user