homelab/templates/service-template/.env.example
Claude cce203ed62
feat: Add service template, backup solution, dashboard, and IaC tooling
This commit adds several new features to enhance homelab management:

## New Services

### Backrest (backup.fig.systems)
- Modern web UI for managing Restic backups
- Encrypted, deduplicated backups to Backblaze B2
- Automated scheduling and retention policies
- Pre-configured to backup Immich photos and homelab configs
- SSO protected via tinyauth

### Homarr (home.fig.systems)
- Auto-discovery dashboard for all homelab services
- Docker socket integration for service monitoring
- Clean, modern interface with customizable widgets
- SSO protected via tinyauth

## Infrastructure

### Service Template System (templates/service-template/)
- Complete template with all common patterns
- Traefik labels, health checks, dependencies
- Environment variable examples
- Comprehensive README with usage instructions
- Ensures consistency across all new services

### OpenTofu/Terraform IaC (terraform/)
- Complete Proxmox VM provisioning setup
- Cloud-init automation for Docker host creation
- Automated Docker installation and configuration
- Media directory structure creation
- Step-by-step documentation including:
  - Cloud template creation guide
  - Variable configuration examples
  - Resource sizing recommendations
  - Security hardening options

## Documentation Updates
- Updated README with new service URLs
- Added Homarr and Backrest to directory structure
- Updated deployment instructions
- Added service table entries for new services

All new services follow established patterns:
- External homelab network
- Let's Encrypt SSL via Traefik
- Dual domain support (fig.systems + edfig.dev)
- Consistent naming and structure
2025-11-05 21:54:30 +00:00

45 lines
1.1 KiB
Text

# Service Configuration
# Copy this file to .env and update with your actual values
# Timezone
TZ=America/Los_Angeles
# User/Group IDs (match your host user)
PUID=1000
PGID=1000
# Service-specific configuration
# Uncomment and configure as needed:
# Database Configuration (if using database)
# DB_PASSWORD=changeme_please_set_secure_password
# DB_USERNAME=serviceuser
# DB_DATABASE_NAME=servicedb
# Redis Configuration (if using Redis)
# REDIS_PASSWORD=changeme_please_set_secure_password
# Application Settings
# APP_URL=https://service.fig.systems
# APP_SECRET=changeme_please_set_random_secret
# API_KEY=changeme_your_api_key_here
# Email/SMTP Configuration (if needed)
# SMTP_HOST=smtp.gmail.com
# SMTP_PORT=587
# SMTP_USER=your-email@gmail.com
# SMTP_PASSWORD=changeme_your_app_password
# SMTP_FROM=Service <noreply@fig.systems>
# Storage Configuration
# STORAGE_PATH=/data
# MAX_UPLOAD_SIZE=100M
# Security
# ADMIN_EMAIL=admin@edfig.dev
# ADMIN_PASSWORD=changeme_please_set_secure_password
# Feature Flags (example)
# ENABLE_REGISTRATION=false
# ENABLE_API=true
# LOG_LEVEL=info