26 lines
852 B
Bash
26 lines
852 B
Bash
# ChunYu Docker Environment Variables (异步化架构)
|
|
# Copy this file to docker.env and update values
|
|
|
|
# PostgreSQL(异步 ORM 数据层)
|
|
POSTGRES_PASSWORD=change-me-postgres
|
|
|
|
# Redis
|
|
REDIS_PASSWORD=change-me-redis
|
|
|
|
# Django
|
|
DJANGO_SECRET_KEY=docker-dev-only-secret-change-in-production
|
|
DJANGO_DEBUG=False
|
|
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=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=
|