Files
Homelab/.env.example
2025-12-27 13:58:19 +00:00

91 lines
3.2 KiB
Plaintext

# Docker Compose Environment Variables Template
# Copy this file to .env and fill in your values
# NEVER commit .env to version control!
# ============================================
# SYSTEM CONFIGURATION
# ============================================
PUID=1000
PGID=1000
TZ=Pacific/Auckland
# ============================================
# SERVICE URLs (for reverse proxy/public access)
# ============================================
JELLYFIN_URL=https://jellyfin.yourdomain.com
PAPERLESS_URL=https://paperless.yourdomain.com
WYGIWYH_URL=https://wygiwyh.yourdomain.com
HOMEPAGE_ALLOWED_HOSTS=homepage.yourdomain.com
# ============================================
# NGINX PROXY MANAGER
# ============================================
NPM_PASSWORD=change_this_secure_password
# ============================================
# PAPERLESS-NGX
# ============================================
PAPERLESS_DB_ROOT_PASSWORD=change_this_secure_password
PAPERLESS_DB_NAME=paperless
PAPERLESS_DB_USER=paperless
PAPERLESS_DB_PASSWORD=change_this_secure_password
# Generate with: openssl rand -base64 32
PAPERLESS_SECRET_KEY=change_this_to_random_secret_key
# ============================================
# IMMICH
# ============================================
IMMICH_POSTGRES_PASSWORD=change_this_secure_password
# ============================================
# LITELLM (AI Gateway)
# ============================================
# Get from: https://console.groq.com/keys
GROQ_API_KEY=gsk_your_groq_api_key_here
# Generate with: openssl rand -base64 32
LITELLM_MASTER_KEY=sk-your_master_key_here
# ============================================
# SLSKD (Soulseek)
# ============================================
SLSKD_USERNAME=your_slskd_username
SLSKD_PASSWORD=change_this_secure_password
# ============================================
# SPEEDTEST TRACKER
# ============================================
SPEEDTEST_DB_NAME=speedtest
SPEEDTEST_DB_USER=speedtest
SPEEDTEST_DB_PASSWORD=change_this_secure_password
# Generate with: php artisan key:generate --show (or use: openssl rand -base64 32)
SPEEDTEST_APP_KEY=base64:your_generated_laravel_key_here
# ============================================
# WYGIWYH (Finance Tracker)
# ============================================
WYGIWYH_DB_DATABASE=wygiwyh
WYGIWYH_DB_USER=wygiwyh
WYGIWYH_DB_PASSWORD=change_this_secure_password
# Generate with: openssl rand -base64 50
WYGIWYH_SECRET_KEY=change_this_to_random_secret_key
WYGIWYH_ALLOWED_HOSTS=localhost,127.0.0.1,wygiwyh.yourdomain.com
# ============================================
# REDBOT (Discord Bot)
# ============================================
# Get from: https://discord.com/developers/applications
REDBOT_TOKEN=your_discord_bot_token_here
# ============================================
# NOTES ON GENERATING SECURE VALUES
# ============================================
# Generate random passwords:
# openssl rand -base64 32
#
# Generate Laravel app key:
# docker run --rm -v $(pwd):/app composer create-project laravel/laravel temp
# docker run --rm -v $(pwd)/temp:/app php:8.2-cli php artisan key:generate --show
#
# Generate Django secret key:
# python3 -c "from django.core.management.utils import get_random_secret_key; print(get_random_secret_key())"