35 lines
890 B
TOML
35 lines
890 B
TOML
name = "obs-video-server"
|
|
main = "video-server-enhanced.js"
|
|
compatibility_date = "2024-01-01"
|
|
|
|
# R2 bucket binding
|
|
[[r2_buckets]]
|
|
binding = "R2_BUCKET"
|
|
bucket_name = "obs-videos"
|
|
|
|
# KV namespace for video metadata (visibility settings)
|
|
[[kv_namespaces]]
|
|
binding = "VIDEO_METADATA"
|
|
id = "6fc255b8c813485c9dfe6e8f1514d667"
|
|
|
|
# KV namespace for user data (authentication, saved videos, playlists)
|
|
[[kv_namespaces]]
|
|
binding = "USER_DATA"
|
|
id = "00f9fb8952674f3a9dac25a700d3cfda"
|
|
|
|
# Environment variables
|
|
[vars]
|
|
# These can be overridden via wrangler secret
|
|
# ADMIN_PASSWORD will be set via: wrangler secret put ADMIN_PASSWORD
|
|
|
|
# Production environment
|
|
[env.production]
|
|
# Uncomment after setting up custom domain
|
|
# routes = [
|
|
# { pattern = "videos.jeffemmett.com/*", custom_domain = true }
|
|
# ]
|
|
|
|
# Development environment
|
|
[env.development]
|
|
# Use different KV namespace for development if needed
|