From a2af07f10eded6f9f9e7aae40d24ebe626d553d4 Mon Sep 17 00:00:00 2001 From: kyy Date: Wed, 21 Jan 2026 11:31:58 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=B0=ED=8F=AC=EC=9A=A9=20infra=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docker/compose.infra.prd.yaml | 46 +++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 docker/compose.infra.prd.yaml diff --git a/docker/compose.infra.prd.yaml b/docker/compose.infra.prd.yaml new file mode 100644 index 00000000..ccbdef29 --- /dev/null +++ b/docker/compose.infra.prd.yaml @@ -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