forked from baron/baron-sso
스테이징 누락 서비스 추가
This commit is contained in:
@@ -35,6 +35,11 @@ services:
|
|||||||
CLICKHOUSE_PASSWORD: "${CLICKHOUSE_PASSWORD:-password}"
|
CLICKHOUSE_PASSWORD: "${CLICKHOUSE_PASSWORD:-password}"
|
||||||
networks:
|
networks:
|
||||||
- baron_net
|
- baron_net
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "clickhouse-client", "--query", "SELECT 1"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:7-alpine
|
image: redis:7-alpine
|
||||||
@@ -47,6 +52,11 @@ services:
|
|||||||
- redis_data:/data
|
- redis_data:/data
|
||||||
networks:
|
networks:
|
||||||
- baron_net
|
- baron_net
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "redis-cli", "-p", "6389", "ping"]
|
||||||
|
interval: 5s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
|
||||||
gateway:
|
gateway:
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
@@ -155,6 +165,33 @@ services:
|
|||||||
- ory-net
|
- ory-net
|
||||||
- hydranet
|
- hydranet
|
||||||
|
|
||||||
|
keto-migrate:
|
||||||
|
image: oryd/keto:${KETO_VERSION:-v25.4.0}
|
||||||
|
environment:
|
||||||
|
- DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KETO_DB:-ory_keto}?sslmode=disable&max_conns=20
|
||||||
|
volumes:
|
||||||
|
- ./docker/ory/keto:/etc/config/keto
|
||||||
|
command: ["migrate", "up", "-c", "/etc/config/keto/keto.yml", "--yes"]
|
||||||
|
depends_on:
|
||||||
|
postgres_ory:
|
||||||
|
condition: service_healthy
|
||||||
|
networks:
|
||||||
|
- ory-net
|
||||||
|
|
||||||
|
keto:
|
||||||
|
image: oryd/keto:${KETO_VERSION:-v25.4.0}
|
||||||
|
container_name: ory_keto
|
||||||
|
environment:
|
||||||
|
- DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KETO_DB:-ory_keto}?sslmode=disable&max_conns=20
|
||||||
|
volumes:
|
||||||
|
- ./docker/ory/keto:/etc/config/keto
|
||||||
|
command: serve -c /etc/config/keto/keto.yml
|
||||||
|
depends_on:
|
||||||
|
keto-migrate:
|
||||||
|
condition: service_completed_successfully
|
||||||
|
networks:
|
||||||
|
- ory-net
|
||||||
|
|
||||||
oathkeeper:
|
oathkeeper:
|
||||||
image: oryd/oathkeeper:${OATHKEEPER_VERSION:-v0.40.6}
|
image: oryd/oathkeeper:${OATHKEEPER_VERSION:-v0.40.6}
|
||||||
container_name: oathkeeper
|
container_name: oathkeeper
|
||||||
@@ -181,6 +218,18 @@ services:
|
|||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
|
||||||
|
ory_clickhouse:
|
||||||
|
image: clickhouse/clickhouse-server:latest
|
||||||
|
container_name: ory_clickhouse
|
||||||
|
environment:
|
||||||
|
- CLICKHOUSE_USER=${ORY_CLICKHOUSE_USER:-ory}
|
||||||
|
- CLICKHOUSE_PASSWORD=${ORY_CLICKHOUSE_PASSWORD:-orypass}
|
||||||
|
volumes:
|
||||||
|
- ory_clickhouse_data:/var/lib/clickhouse
|
||||||
|
- ./docker/ory/clickhouse:/docker-entrypoint-initdb.d
|
||||||
|
networks:
|
||||||
|
- ory-net
|
||||||
|
|
||||||
backend:
|
backend:
|
||||||
build:
|
build:
|
||||||
context: ./backend
|
context: ./backend
|
||||||
@@ -211,7 +260,20 @@ services:
|
|||||||
- CLICKHOUSE_USER=${CLICKHOUSE_USER:-baron}
|
- CLICKHOUSE_USER=${CLICKHOUSE_USER:-baron}
|
||||||
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-password}
|
- CLICKHOUSE_PASSWORD=${CLICKHOUSE_PASSWORD:-password}
|
||||||
depends_on:
|
depends_on:
|
||||||
- infra_check
|
clickhouse:
|
||||||
|
condition: service_healthy
|
||||||
|
redis:
|
||||||
|
condition: service_healthy
|
||||||
|
oathkeeper:
|
||||||
|
condition: service_healthy
|
||||||
|
kratos:
|
||||||
|
condition: service_started
|
||||||
|
hydra:
|
||||||
|
condition: service_started
|
||||||
|
keto:
|
||||||
|
condition: service_started
|
||||||
|
infra_check:
|
||||||
|
condition: service_started
|
||||||
networks:
|
networks:
|
||||||
- baron_net
|
- baron_net
|
||||||
- ory-net
|
- ory-net
|
||||||
@@ -303,6 +365,7 @@ volumes:
|
|||||||
clickhouse_data:
|
clickhouse_data:
|
||||||
redis_data:
|
redis_data:
|
||||||
ory_postgres_data:
|
ory_postgres_data:
|
||||||
|
ory_clickhouse_data:
|
||||||
oathkeeper_logs:
|
oathkeeper_logs:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user