forked from Thinline-Dynamic-Solutions/ThinLineRadio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.docker.example
More file actions
132 lines (100 loc) · 4.55 KB
/
Copy pathenv.docker.example
File metadata and controls
132 lines (100 loc) · 4.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# ThinLine Radio - Docker Environment Configuration
# Copy this file to .env and update with your settings
#
# Usage:
# cp .env.docker.example .env
# nano .env # Edit with your settings
# docker-compose up -d
#
# IMPORTANT: Never commit the .env file to version control!
# =============================================================================
# Database Configuration (Required)
# =============================================================================
# Database name
DB_NAME=thinline_radio
# Database user
DB_USER=thinline_user
# Database password (CHANGE THIS!)
# Use a strong password with letters, numbers, and special characters
DB_PASS=change_this_password_immediately
# =============================================================================
# Server Configuration
# =============================================================================
# HTTP port (default: 3000)
HTTP_PORT=3000
# HTTPS port (default: 3443)
HTTPS_PORT=3443
# Timezone for logs and scheduling
# List: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
TZ=America/New_York
# Data storage path (absolute path on host)
# This is where audio files, database, and logs will be stored
# IMPORTANT: Ensure this path exists and has sufficient disk space
DATA_PATH=./docker/data
# =============================================================================
# SSL/TLS Configuration (Optional)
# =============================================================================
# Let's Encrypt automatic certificate (provide your domain)
# SSL_AUTO_CERT=yourdomain.com
# Or provide custom certificate paths (relative to docker/config/ssl/)
# SSL_CERT_FILE=/app/config/ssl/cert.pem
# SSL_KEY_FILE=/app/config/ssl/key.pem
# =============================================================================
# Email Configuration (Optional)
# =============================================================================
# SMTP server configuration for email notifications
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=your-email@gmail.com
# SMTP_PASS=your-app-password
# SMTP_FROM=noreply@yourdomain.com
# =============================================================================
# Transcription Services (Optional)
# =============================================================================
# Google Cloud Speech-to-Text
# Place your google-credentials.json in docker/config/credentials/
# GOOGLE_APPLICATION_CREDENTIALS=/app/config/credentials/google-credentials.json
# Azure Cognitive Services
# AZURE_SPEECH_KEY=your-azure-key
# AZURE_SPEECH_REGION=eastus
# OpenAI Whisper API
# WHISPER_API_KEY=your-openai-api-key
# AssemblyAI
# ASSEMBLYAI_API_KEY=your-assemblyai-key
# =============================================================================
# Stripe Billing (Optional)
# =============================================================================
# Stripe API keys for payment processing
# STRIPE_SECRET_KEY=sk_test_...
# STRIPE_PUBLISHABLE_KEY=pk_test_...
# STRIPE_WEBHOOK_SECRET=whsec_...
# =============================================================================
# Push Notifications (Optional)
# =============================================================================
# OneSignal configuration for mobile push notifications
# ONESIGNAL_APP_ID=your-onesignal-app-id
# ONESIGNAL_REST_API_KEY=your-onesignal-api-key
# =============================================================================
# Radio Reference Integration (Optional)
# =============================================================================
# Radio Reference API credentials for importing system data
# RADIOREFERENCE_USERNAME=your-username
# RADIOREFERENCE_PASSWORD=your-password
# =============================================================================
# Advanced Configuration (Optional)
# =============================================================================
# Build metadata (for CI/CD)
# BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')
# VERSION=7.0.0
# Debug mode (set to true for verbose logging)
# DEBUG=false
# Maximum database connections
# DB_MAX_CONNECTIONS=200
# =============================================================================
# Notes
# =============================================================================
# 1. At minimum, you MUST set DB_PASS to a secure password
# 2. All other settings are optional and can be configured later via the admin UI
# 3. Make sure DATA_PATH directory exists and has sufficient space
# 4. For production, use a reverse proxy (nginx/traefik) for SSL termination
# 5. Keep this file secure and never commit it to version control