forked from baron/baron-sso
keto MCP 제작. ory-keto-migrate 오류 재발생 해결
This commit is contained in:
@@ -154,6 +154,23 @@ services:
|
||||
networks:
|
||||
- ory-net
|
||||
|
||||
keto-mcp-server:
|
||||
build:
|
||||
context: ./mcp/keto-mcp
|
||||
container_name: mcp_ory_keto
|
||||
profiles:
|
||||
- mcp
|
||||
stdin_open: true
|
||||
tty: true
|
||||
init: true
|
||||
environment:
|
||||
- KETO_READ_URL=http://keto:4466
|
||||
- KETO_WRITE_URL=http://keto:4467
|
||||
depends_on:
|
||||
- keto
|
||||
networks:
|
||||
- ory-net
|
||||
|
||||
# --- Keto ---
|
||||
keto-migrate:
|
||||
image: oryd/keto:${KETO_VERSION:-v25.4.0}
|
||||
@@ -161,7 +178,7 @@ services:
|
||||
- DSN=postgres://${ORY_POSTGRES_USER}:${ORY_POSTGRES_PASSWORD}@postgres_ory:5432/${KETO_DB}?sslmode=disable&max_conns=20
|
||||
volumes:
|
||||
- ./docker/ory/keto:/etc/config/keto
|
||||
command: migrate up --yes
|
||||
command: migrate up -c /etc/config/keto/keto.yml --yes
|
||||
depends_on:
|
||||
postgres_ory:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user