Files
dropshell-templates/squashkiwi-streaming/config/service.env
Your Name f51edd4c6c
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 22s
Update template service.env to use CLUB_CODE and COURT_NUMBER format
2025-09-02 10:06:21 +12:00

50 lines
1.3 KiB
Bash

# SquashKiwi Streaming Configuration
# Edit this file to configure your streaming service
# Data folders
LOCAL_DATA_FOLDER="/home/dropshell/squashkiwi-streaming-data"
RECORDINGS_FOLDER="/home/dropshell/squashkiwi-streaming-recordings"
# Project Name used in docker-compose.yml, must be unique on the server.
PROJECT_NAME="sk-streaming"
# Camera Configuration
# Note: If password contains special characters (! @ # $ & %), they will be automatically URL-encoded
# Or you can manually encode them: ! = %21, @ = %40, # = %23, $ = %24, & = %26
CAMERA_IP=192.168.1.100
CAMERA_USER=admin
CAMERA_PASSWORD=changeme
CAMERA_RTSP_PORT=554
# Court Configuration
# CLUB_CODE: Your club's code (e.g., OTOG for Otago, WELL for Wellington)
# COURT_NUMBER: The court number (1, 2, 3, etc.)
CLUB_CODE=OTOG
COURT_NUMBER=1
COURT_NAME="Court 1"
# SquashKiwi API
SQUASHKIWI_API=https://squash.kiwi/api
# Recording Settings
RECORDING_RETENTION_DAYS=30
RECORDING_QUALITY=high
IDLE_TIMEOUT=300
# Network Settings
HOST_PORT=8880
PUBLIC_IP=
# MediaMTX Authentication (optional - remove values to disable auth)
MEDIAMTX_USER=
MEDIAMTX_PASS=
# SSH User automatically set on service creation.
SSH_USER="root"
# Optional: Cloudflare Tunnel
CLOUDFLARE_TUNNEL_TOKEN=
# Optional: Monitoring
GRAFANA_PASSWORD=admin