From 6008a7ff4bc73bfc0c26b9e2cf4b6e93ebdce158 Mon Sep 17 00:00:00 2001 From: konjacpotato Date: Mon, 23 Feb 2026 12:23:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E6=97=A5=E5=BF=97=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=88=B0=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 ++- docker-compose.yml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env b/.env index abb2399..d94861b 100644 --- a/.env +++ b/.env @@ -4,7 +4,8 @@ DEBUG=true # 日志配置 LOG_LEVEL=DEBUG -LOG_TYPE=console +LOG_TYPE=console,file +LOG_FILE_PATH=logs # 数据库配置 DB_HOST= 47.119.128.161 # 192.168.1.200 diff --git a/docker-compose.yml b/docker-compose.yml index b82c078..06ccef3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,3 +7,6 @@ services: restart: always environment: - TZ=Asia/Shanghai # 设置时区环境变量 + volumes: + - /Users/konjacpotato/workspace/data/edward/.env:/app/.env + - /Users/konjacpotato/workspace/data/edward/logs:/app/logs