From 812903bf51f452773ad848f0f47e4b3f8328c236 Mon Sep 17 00:00:00 2001 From: Lectom C Han Date: Thu, 12 Feb 2026 08:48:28 +0900 Subject: [PATCH] =?UTF-8?q?log=20=EB=B3=BC=EB=A5=A8=20=EB=A7=88=EC=9A=B4?= =?UTF-8?q?=ED=8A=B8=20=EB=B0=A9=EC=8B=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/staging_code_pull.yml | 2 +- .gitignore | 1 + compose.ory.yaml | 5 +++-- docker/staging_pull_compose.template.yaml | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/staging_code_pull.yml b/.gitea/workflows/staging_code_pull.yml index a9010c12..c658fd95 100644 --- a/.gitea/workflows/staging_code_pull.yml +++ b/.gitea/workflows/staging_code_pull.yml @@ -148,7 +148,7 @@ jobs: # [중요] 설정 파일 권한 문제 해결 (Ory 이미지는 root가 아닌 사용자로 실행됨) - chmod -R 777 docker/ory + chmod -R 777 docker/ory || true cp docker/staging_pull_compose.template.yaml staging_pull_compose.yaml diff --git a/.gitignore b/.gitignore index 31c87998..31b94f32 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ # Docker Services Data (Volumes) postgres_data/ clickhouse_data/ +docker/ory/oathkeeper/logs/ # Backend (Go) backend/main diff --git a/compose.ory.yaml b/compose.ory.yaml index 5e9d5f9d..3fa4d71c 100644 --- a/compose.ory.yaml +++ b/compose.ory.yaml @@ -146,7 +146,7 @@ services: - OATHKEEPER_INTROSPECT_CLIENT_SECRET=${OATHKEEPER_INTROSPECT_CLIENT_SECRET:-oathkeeper-secret} volumes: - ./docker/ory/oathkeeper:/etc/config/oathkeeper - - ./docker/ory/oathkeeper/logs:/var/log/oathkeeper + - oathkeeper_logs:/var/log/oathkeeper entrypoint: ["/etc/config/oathkeeper/entrypoint.sh"] networks: - ory-net @@ -169,7 +169,7 @@ services: container_name: ory_vector volumes: - ./docker/ory/vector:/etc/vector - - ./docker/ory/oathkeeper/logs:/var/log/oathkeeper + - oathkeeper_logs:/var/log/oathkeeper command: ["-c", "/etc/vector/vector.toml"] depends_on: - oathkeeper @@ -239,6 +239,7 @@ services: volumes: ory_postgres_data: ory_clickhouse_data: + oathkeeper_logs: networks: ory-net: diff --git a/docker/staging_pull_compose.template.yaml b/docker/staging_pull_compose.template.yaml index 911a129b..9bd90887 100644 --- a/docker/staging_pull_compose.template.yaml +++ b/docker/staging_pull_compose.template.yaml @@ -167,6 +167,7 @@ services: command: serve proxy --config /etc/config/oathkeeper/oathkeeper.yml volumes: - ./docker/ory/oathkeeper:/etc/config/oathkeeper + - oathkeeper_logs:/var/log/oathkeeper networks: - ory-net - baron_net @@ -302,6 +303,7 @@ volumes: clickhouse_data: redis_data: ory_postgres_data: + oathkeeper_logs: networks: baron_net: