This commit is contained in:
2025-10-25 08:43:42 +08:00
parent e5cd2700aa
commit d207146423
10 changed files with 687 additions and 10 deletions

View File

@@ -3,17 +3,17 @@ Host: 0.0.0.0
Port: 8888
JWT:
Secret: your-secret-key-change-in-production
Issuer: cialloo-authenticator
ExpiresIn: 604800 # 7 days in seconds
Secret: "${JWT_SECRET}"
Issuer: "${JWT_ISSUER}"
ExpiresIn: "${JWT_EXPIRES_IN}"
Database:
DSN: "${DATABASE_DSN}" # postgres: host=localhost port=5432 user=postgres password=your_password dbname=steam_union sslmode=disable
DSN: "${DATABASE_DSN}"
S3:
Region: us-east-1
Bucket: your-bucket-name
AccessKeyID: your-access-key-id
SecretAccessKey: your-secret-access-key
Endpoint: # Optional: for custom S3-compatible endpoints (e.g., MinIO)
PresignedURLExpiration: 3600 # Expiration time in seconds (default 1 hour)
Region: "${S3_REGION}"
Bucket: "${S3_BUCKET}"
AccessKeyID: "${S3_ACCESS_KEY_ID}"
SecretAccessKey: "${S3_SECRET_ACCESS_KEY}"
Endpoint: "${S3_ENDPOINT}"
PresignedURLExpiration: "${S3_PRESIGNED_URL_EXPIRATION}"