add: 本地开发 compose 编排、构建脚本与数据库初始化

This commit is contained in:
zetaloop
2026-04-01 03:45:11 +08:00
parent e7970ac25f
commit 507d8c6fd9
7 changed files with 501 additions and 1 deletions
+32
View File
@@ -0,0 +1,32 @@
# PostgreSQL
PD_USERNAME=postgres
DB_PASSWORD=123456
DB_PORT=5432
DB_NAME=app
DB_URI=postgresql://postgres:123456@postgres:5432/app
# Redis
REDIS_HOST=redis
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_M_HOST=redis:6379
REDIS_S_HOST=redis:6379
# Kafka
KAFKA_BROKER=kafka:9092
# Email (placeholder)
EMAIL_SMTP_HOST=smtp.example.com
EMAIL_SMTP_PORT=465
EMAIL_SMTP_USERNAME=test@example.com
EMAIL_SMTP_PASSWORD=changeme
EMAIL_FROM_ADDRESS=test@example.com
EMAIL_FROM_NAME=juwan-dev
EMAIL_REPLY_TO=
# S3 (objectstory, placeholder)
S3_ENDPOINT=https://example.com
S3_ACCESS_KEY=changeme
S3_SECRET_KEY=changeme
S3_BUCKET_NAME=dev-bucket
S3_REGION=auto