配置StarFireAPI部署:端口6580,外部Redis(172.18.0.2:6379),前端显示StarFireAPI
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled

This commit is contained in:
huangzhenpc
2026-01-15 21:11:07 +08:00
parent f52498603c
commit 8d1e58cdac
2 changed files with 14 additions and 11 deletions

View File

@@ -15,7 +15,7 @@
BIND_HOST=0.0.0.0
# Server port (exposed on host)
SERVER_PORT=8080
SERVER_PORT=6580
# Server mode: release or debug
SERVER_MODE=release
@@ -35,10 +35,12 @@ POSTGRES_PASSWORD=change_this_secure_password
POSTGRES_DB=sub2api
# -----------------------------------------------------------------------------
# Redis Configuration
# Redis Configuration (External Redis)
# -----------------------------------------------------------------------------
# Leave empty for no password (default for local development)
REDIS_PASSWORD=
# Using external Redis server at 172.18.0.2:6379
REDIS_HOST=172.18.0.2
REDIS_PORT=6379
REDIS_PASSWORD=redis_JCHeKT
REDIS_DB=0
# -----------------------------------------------------------------------------