security: docker.env去跟踪(含真实密码,已轮换清单见下)+example占位化+ignore
This commit is contained in:
@@ -16,3 +16,4 @@ chunyu_project/
|
|||||||
chunyu_project_react/
|
chunyu_project_react/
|
||||||
node_modules/
|
node_modules/
|
||||||
shots/
|
shots/
|
||||||
|
docker.env
|
||||||
|
|||||||
+11
-3
@@ -2,10 +2,10 @@
|
|||||||
# Copy this file to docker.env and update values
|
# Copy this file to docker.env and update values
|
||||||
|
|
||||||
# PostgreSQL(异步 ORM 数据层)
|
# PostgreSQL(异步 ORM 数据层)
|
||||||
POSTGRES_PASSWORD=chunyu_pg_pass
|
POSTGRES_PASSWORD=change-me-postgres
|
||||||
|
|
||||||
# Redis
|
# Redis
|
||||||
REDIS_PASSWORD=chunyu_redis_pass
|
REDIS_PASSWORD=change-me-redis
|
||||||
|
|
||||||
# Django
|
# Django
|
||||||
DJANGO_SECRET_KEY=docker-dev-only-secret-change-in-production
|
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
|
CORS_ALLOWED_ORIGINS=http://localhost:8080,http://127.0.0.1:8080,http://localhost:5173,http://127.0.0.1:5173
|
||||||
|
|
||||||
# Email
|
# 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=
|
||||||
|
|||||||
Reference in New Issue
Block a user