forked from baron/baron-sso
설정 파일 오류 수정
This commit is contained in:
@@ -88,6 +88,27 @@ services:
|
||||
- ory-net
|
||||
- hydranet
|
||||
|
||||
# [수정됨] Oathkeeper 서비스 추가 (Backend 연결 문제 해결)
|
||||
oathkeeper:
|
||||
image: oryd/oathkeeper:${OATHKEEPER_VERSION:-v0.40.6}
|
||||
container_name: ory_oathkeeper
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
kratos:
|
||||
condition: service_started
|
||||
environment:
|
||||
- LOG_LEVEL=debug
|
||||
command: serve proxy --config /etc/config/oathkeeper/oathkeeper.yml
|
||||
volumes:
|
||||
- ./docker/ory/oathkeeper:/etc/config/oathkeeper
|
||||
networks:
|
||||
- ory-net
|
||||
- baron_net # Backend가 통신하기 위해 필수
|
||||
- public_net
|
||||
ports:
|
||||
- "4455:4455" # Proxy
|
||||
- "4456:4456" # API (Backend 헬스체크용)
|
||||
|
||||
volumes:
|
||||
ory_postgres_data:
|
||||
|
||||
@@ -104,3 +125,7 @@ networks:
|
||||
public_net:
|
||||
external: true
|
||||
name: public_net
|
||||
# [수정됨] Baron Net 추가 정의 (Oathkeeper 연결용)
|
||||
baron_net:
|
||||
external: true
|
||||
name: baron_net
|
||||
Reference in New Issue
Block a user