添加redis

This commit is contained in:
2026-09-01 12:05:52 +08:00
parent 58ec92e241
commit a1f9942ca4
8 changed files with 168 additions and 10 deletions
+5
View File
@@ -75,4 +75,9 @@ services:
- IAM_BASE_URL=${IAM_BASE_URL:-https://iam.digiwincloud.com.cn}
- IAM_APP_TOKEN=${IAM_APP_TOKEN:-eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6ImRhdGEtYnVzaW5lc3MtZGVtbyIsInNpZCI6MH0.Spo64LstbWxjYNefVFAbEbgfjzZoQGNcqKSGuYUOCRk}
- IAM_CACHE_TTL=${IAM_CACHE_TTL:-30}
# Redis 缓存配置
- REDIS_HOST=${REDIS_HOST:-127.0.0.1}
- REDIS_PORT=${REDIS_PORT:-6379}
- REDIS_DB=${REDIS_DB:-0}
- REDIS_PASSWORD=${REDIS_PASSWORD:-digiwin}
restart: unless-stopped