Files
compose-anything/src/opencut/.env.example
2025-10-15 20:38:26 +08:00

66 lines
2.5 KiB
Plaintext

# ============================================================================
# OpenCut Configuration
# ============================================================================
# Timezone (optional, default: UTC)
TZ=UTC
# ----------------------------------------------------------------------------
# Version Configuration
# ----------------------------------------------------------------------------
POSTGRES_VERSION=17
REDIS_VERSION=7-alpine
SERVERLESS_REDIS_HTTP_VERSION=latest
# Note: OpenCut web image needs to be built from source
# See: https://github.com/OpenCut-app/OpenCut
OPENCUT_WEB_IMAGE=opencut/web:latest
# ----------------------------------------------------------------------------
# Port Override Configuration
# ----------------------------------------------------------------------------
# PostgreSQL port (default: 5432)
POSTGRES_PORT_OVERRIDE=5432
# Redis port (default: 6379)
REDIS_PORT_OVERRIDE=6379
# Serverless Redis HTTP port (default: 8079)
SERVERLESS_REDIS_HTTP_PORT_OVERRIDE=8079
# OpenCut web port (default: 3100)
OPENCUT_WEB_PORT_OVERRIDE=3100
# ----------------------------------------------------------------------------
# PostgreSQL Configuration
# ----------------------------------------------------------------------------
POSTGRES_USER=opencut
POSTGRES_PASSWORD=change-me-to-secure-password
POSTGRES_DB=opencut
# ----------------------------------------------------------------------------
# Redis Configuration
# ----------------------------------------------------------------------------
# Token for serverless Redis HTTP interface
SERVERLESS_REDIS_HTTP_TOKEN=change-me-to-random-token
# ----------------------------------------------------------------------------
# OpenCut Application Configuration
# ----------------------------------------------------------------------------
# Better Auth configuration
OPENCUT_BETTER_AUTH_URL=http://localhost:3100
OPENCUT_BETTER_AUTH_SECRET=change-me-to-random-secret-key
# FreeSound API configuration (required)
OPENCUT_FREESOUND_CLIENT_ID=your_freesound_client_id
OPENCUT_FREESOUND_API_KEY=your_freesound_api_key
# ----------------------------------------------------------------------------
# Optional: Transcription Features
# Leave blank to disable auto-captioning
# ----------------------------------------------------------------------------
# Cloudflare R2 configuration
OPENCUT_CLOUDFLARE_ACCOUNT_ID=
OPENCUT_R2_ACCESS_KEY_ID=
OPENCUT_R2_SECRET_ACCESS_KEY=
OPENCUT_R2_BUCKET_NAME=
# Modal transcription service URL
OPENCUT_MODAL_TRANSCRIPTION_URL=