Files
Media-Coding-Web/.env.example
CN-JS-HuiBai 3c3bd6dcb1 使用VALKEY
2026-04-03 22:30:35 +08:00

27 lines
778 B
Plaintext

PORT=3000
HOST=0.0.0.0
# AWS S3 / MinIO Configuration
AWS_REGION=us-east-1
S3_BUCKET_ADDRESS=https://s3.example.com/your_bucket_name
# For MinIO or other S3-compatible storage
S3_ENDPOINT=http://127.0.0.1:9000
S3_FORCE_PATH_STYLE=true
# Application Title
APP_TITLE=S3 Media Transcoder
# Valkey / Redis session storage for browser refresh login persistence
# You can use any one of these; VALKEY_URL is preferred.
VALKEY_URL=redis://127.0.0.1:6379
# REDIS_URL=redis://127.0.0.1:6379
# VALKEY_ADDRESS=redis://127.0.0.1:6379
# Session cookie settings for S3 credential session persistence
S3_SESSION_COOKIE_NAME=media_coding_s3_session
S3_SESSION_TTL_SECONDS=2592000
# In production behind HTTPS, set this to true so the session cookie is Secure.
SESSION_COOKIE_SECURE=false