security: docker.env去跟踪(含真实密码,已轮换清单见下)+example占位化+ignore

This commit is contained in:
2026-09-14 02:23:42 +08:00
parent 39af400fc8
commit 71adc8a515
2 changed files with 12 additions and 3 deletions
+11 -3
View File
@@ -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=