-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.env.example
More file actions
145 lines (108 loc) · 4.53 KB
/
Copy pathdocker-compose.env.example
File metadata and controls
145 lines (108 loc) · 4.53 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# MVidarr Enhanced Docker Environment Configuration
# Copy this file to .env and customize for your deployment
# ==============================================================================
# BASIC APPLICATION SETTINGS
# ==============================================================================
# Application port (host port mapping)
MVIDARR_PORT=5000
# Timezone for containers
TZ=UTC
# ==============================================================================
# DATABASE CONFIGURATION
# ==============================================================================
# MariaDB/MySQL Settings
DB_PASSWORD=secure_password_change_me
MYSQL_ROOT_PASSWORD=root_password_change_me
MARIADB_PORT=3306
# Database name (change for multiple instances)
DB_NAME=mvidarr_enhanced
# ==============================================================================
# SECURITY SETTINGS
# ==============================================================================
# Flask secret key (generate a secure random string for production)
SECRET_KEY=generate_random_secret_key_for_production
# Admin user credentials
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin_password_change_me
ADMIN_EMAIL=admin@example.com
# ==============================================================================
# EXTERNAL API KEYS (Optional)
# ==============================================================================
# IMVDb API Key (for metadata enrichment)
# Get from: https://imvdb.com/api
IMVDB_API_KEY=
# YouTube API Key (for video discovery)
# Get from: https://console.developers.google.com/
YOUTUBE_API_KEY=
# ==============================================================================
# STORAGE PATHS (Host Directory Mapping)
# ==============================================================================
# Main music videos storage directory
MUSIC_VIDEOS_PATH=/path/to/your/music/videos
# Database storage directory
DATABASE_FOLDER=/path/to/database/storage
# Thumbnails cache directory
THUMBNAILS_PATH=/path/to/thumbnails/cache
# Application logs directory
LOGS_PATH=/path/to/logs
# Cache directory for temporary files
CACHE_PATH=/path/to/cache
# Configuration files directory
CONFIG_PATH=/path/to/config
# Backups directory
BACKUPS_PATH=/path/to/backups
# ==============================================================================
# OPTIONAL SERVICES
# ==============================================================================
# Reverse Proxy Settings (if using nginx)
HTTP_PORT=80
HTTPS_PORT=443
# PHPMyAdmin (development only)
PHPMYADMIN_PORT=8080
# ==============================================================================
# DEVELOPMENT SETTINGS
# ==============================================================================
# Development database password (less secure for dev)
DEV_DB_PASSWORD=dev_password
# Development MariaDB port (to avoid conflicts)
DEV_MARIADB_PORT=3307
# ==============================================================================
# PRODUCTION OPTIMIZATIONS
# ==============================================================================
# Resource limits (uncomment and adjust as needed)
# MEMORY_LIMIT=1g
# CPU_LIMIT=2.0
# Backup settings
# BACKUP_SCHEDULE=0 2 * * * # Daily at 2 AM
# BACKUP_RETENTION_DAYS=30
# ==============================================================================
# SSL/TLS CONFIGURATION (if using reverse proxy)
# ==============================================================================
# SSL certificate paths
# SSL_CERT_PATH=/path/to/ssl/cert.pem
# SSL_KEY_PATH=/path/to/ssl/private.key
# ==============================================================================
# MONITORING & LOGGING
# ==============================================================================
# Log level (DEBUG, INFO, WARNING, ERROR)
LOG_LEVEL=INFO
# Maximum log file size
LOG_MAX_SIZE=10485760
# Number of log files to keep
LOG_BACKUP_COUNT=5
# ==============================================================================
# EXAMPLE PRODUCTION CONFIGURATION
# ==============================================================================
# Example values for a production deployment:
# MVIDARR_PORT=5000
# TZ=America/New_York
# DB_PASSWORD=your_very_secure_database_password_here
# MYSQL_ROOT_PASSWORD=your_secure_root_password_here
# SECRET_KEY=your_64_character_random_secret_key_here
# MUSIC_VIDEOS_PATH=/mnt/storage/music-videos
# DATABASE_FOLDER=/var/lib/mvidarr/database
# THUMBNAILS_PATH=/var/cache/mvidarr/thumbnails
# LOGS_PATH=/var/log/mvidarr
# CACHE_PATH=/tmp/mvidarr
# CONFIG_PATH=/etc/mvidarr
# BACKUPS_PATH=/var/backups/mvidarr