From 2828eb6c98045fa340bf64e85ffdb6c768fb3721 Mon Sep 17 00:00:00 2001 From: ytqh Date: Sat, 3 May 2025 18:17:16 +0800 Subject: [PATCH] feat: add logs mapping for aliyun logtail --- docker/docker-compose-template.yaml | 6 ++++++ docker/docker-compose.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/docker/docker-compose-template.yaml b/docker/docker-compose-template.yaml index a17d23898c..97080a1e77 100644 --- a/docker/docker-compose-template.yaml +++ b/docker/docker-compose-template.yaml @@ -26,6 +26,8 @@ services: volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage + # Mount the log directory from the container to the host + - ./volumes/app/logs:/app/logs networks: - ssrf_proxy_network - default @@ -55,6 +57,8 @@ services: volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage + # Mount the log directory from the container to the host + - ./volumes/app/logs:/app/logs networks: - ssrf_proxy_network - default @@ -78,6 +82,8 @@ services: volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage + # Mount the log directory from the container to the host + - ./volumes/app/logs:/app/logs networks: - ssrf_proxy_network - default diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 8beb588845..e64a9a4f60 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -536,6 +536,8 @@ services: volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage + # Mount the log directory from the container to the host + - ./volumes/app/logs:/app/logs networks: - ssrf_proxy_network - default @@ -565,6 +567,8 @@ services: volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage + # Mount the log directory from the container to the host + - ./volumes/app/logs:/app/logs networks: - ssrf_proxy_network - default @@ -588,6 +592,8 @@ services: volumes: # Mount the storage directory to the container, for storing user files. - ./volumes/app/storage:/app/api/storage + # Mount the log directory from the container to the host + - ./volumes/app/logs:/app/logs networks: - ssrf_proxy_network - default