From 71adc8a515d0bb6a22f57b6d37c7f1e90f472fe0 Mon Sep 17 00:00:00 2001 From: root <1291454411@qq.com> Date: Mon, 14 Sep 2026 02:23:42 +0800 Subject: [PATCH] =?UTF-8?q?security:=20docker.env=E5=8E=BB=E8=B7=9F?= =?UTF-8?q?=E8=B8=AA=EF=BC=88=E5=90=AB=E7=9C=9F=E5=AE=9E=E5=AF=86=E7=A0=81?= =?UTF-8?q?=EF=BC=8C=E5=B7=B2=E8=BD=AE=E6=8D=A2=E6=B8=85=E5=8D=95=E8=A7=81?= =?UTF-8?q?=E4=B8=8B=EF=BC=89+example=E5=8D=A0=E4=BD=8D=E5=8C=96+ignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + docker.env.example | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 74e14e3..8a0b63b 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ chunyu_project/ chunyu_project_react/ node_modules/ shots/ +docker.env diff --git a/docker.env.example b/docker.env.example index 424e508..7c37fb9 100644 --- a/docker.env.example +++ b/docker.env.example @@ -2,10 +2,10 @@ # Copy this file to docker.env and update values # PostgreSQL(异步 ORM 数据层) -POSTGRES_PASSWORD=chunyu_pg_pass +POSTGRES_PASSWORD=change-me-postgres # Redis -REDIS_PASSWORD=chunyu_redis_pass +REDIS_PASSWORD=change-me-redis # Django DJANGO_SECRET_KEY=docker-dev-only-secret-change-in-production @@ -14,4 +14,12 @@ DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1,backend,nginx,host.docker.internal CORS_ALLOWED_ORIGINS=http://localhost:8080,http://127.0.0.1:8080,http://localhost:5173,http://127.0.0.1:5173 # Email -EMAIL_HOST_PASSWORD=ldzpymytsinkfjhb +EMAIL_HOST_PASSWORD=change-me-email + +# C-04 AI 工具(图片放大最小闭环) +# pillow = 本地 Pillow 放大(默认,零 key 全链路跑通) +# http = 第三方网关预留(base/key 全走环境变量,绝不落库) +AITOOL_PROVIDER=pillow +AITOOL_UPSCALE_COST=2 +# AITOOL_API_BASE=https://ai-gateway.example.com +# AITOOL_API_KEY=