forked from baron/baron-sso
Merge branch 'main' of https://gitea.hmac.kr/ai-team/baron-sso
This commit is contained in:
46
docker/compose.infra.prd.yaml
Normal file
46
docker/compose.infra.prd.yaml
Normal file
@@ -0,0 +1,46 @@
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:17-alpine
|
||||
container_name: baron_postgres
|
||||
environment:
|
||||
POSTGRES_USER: ${DB_USER:-baron}
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD:-password}
|
||||
POSTGRES_DB: ${DB_NAME:-baron_sso}
|
||||
ports:
|
||||
- "${DB_PORT:-5432}:5432"
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
networks:
|
||||
- baron_net
|
||||
restart: always
|
||||
|
||||
clickhouse:
|
||||
image: clickhouse/clickhouse-server:latest
|
||||
container_name: baron_clickhouse
|
||||
environment:
|
||||
CLICKHOUSE_USER: ${CLICKHOUSE_USER:-baron}
|
||||
CLICKHOUSE_PASSWORD: ${CLICKHOUSE_PASSWORD:-password}
|
||||
networks:
|
||||
- baron_net
|
||||
|
||||
redis:
|
||||
image: redis:7-alpine
|
||||
container_name: baron_redis
|
||||
restart: always
|
||||
command: redis-server --port 6399
|
||||
ports:
|
||||
- "6399:6399"
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
- baron_net
|
||||
|
||||
volumes:
|
||||
postgres_data:
|
||||
clickhouse_data:
|
||||
redis_data:
|
||||
|
||||
networks:
|
||||
baron_net:
|
||||
name: baron_network
|
||||
driver: bridge
|
||||
@@ -2,7 +2,7 @@ name: baron-sso
|
||||
|
||||
services:
|
||||
backend:
|
||||
image: reg.hmac.kr/baron_sso/backend:v1.2601.1-RC1
|
||||
image: ${BACKEND_IMAGE_NAME}:${IMAGE_TAG}
|
||||
container_name: baron_backend
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
@@ -30,7 +30,7 @@ services:
|
||||
- baron_net
|
||||
|
||||
frontend:
|
||||
image: reg.hmac.kr/baron_sso/frontend:v1.2601.1-RC1
|
||||
image: ${FRONTEND_IMAGE_NAME}:${IMAGE_TAG}
|
||||
container_name: baron_frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
Reference in New Issue
Block a user