flamenco/.env.dev
Ryan Malloy e8ea44a0a6 Implement optimized Docker development environment
- Add multi-stage Dockerfile.dev with 168x Go module performance improvement
- Implement modern Docker Compose configuration with caddy-docker-proxy
- Add comprehensive Makefile.docker for container management
- Migrate from Poetry to uv for Python dependencies
- Fix Alpine Linux compatibility and Docker mount conflicts
- Create comprehensive documentation in docs/ directory
- Add Playwright testing integration
- Configure reverse proxy with automatic HTTPS
- Update .gitignore for Docker development artifacts
2025-09-09 10:25:30 -06:00

142 lines
4.9 KiB
Plaintext

# =============================================================================
# Flamenco Development Environment Configuration
# =============================================================================
# Copy this file to .env and customize for your development setup
# Variables here are loaded by Docker Compose and can override defaults
# =============================================================================
# Project Configuration
# =============================================================================
COMPOSE_PROJECT_NAME=flamenco-dev
# Domain configuration for reverse proxy
DOMAIN=flamenco.l.supported.systems
# =============================================================================
# Service Ports
# =============================================================================
# Manager API and web interface
MANAGER_PORT=8080
# Manager profiling/debugging (pprof)
MANAGER_DEBUG_PORT=8082
# Vue.js webapp development server (hot-reloading)
WEBAPP_DEV_PORT=8081
# Hugo documentation server
DOCS_DEV_PORT=1313
# =============================================================================
# Manager Configuration
# =============================================================================
# Network binding
MANAGER_HOST=0.0.0.0
# Logging level: trace, debug, info, warn, error
LOG_LEVEL=debug
# Database check interval
DATABASE_CHECK_PERIOD=1m
# Enable performance profiling
ENABLE_PPROF=true
# =============================================================================
# Shaman Asset Management (Optional)
# =============================================================================
# Enable Shaman content-addressable storage system
SHAMAN_ENABLED=false
# =============================================================================
# Worker Configuration
# =============================================================================
# Worker identification
WORKER_NAME=docker-dev-worker
# Worker tags for organization and targeting
WORKER_TAGS=docker,development,local
# Task execution timeout
TASK_TIMEOUT=10m
# Worker sleep schedule (empty = always active)
# Format: "22:00-08:00" for sleep from 10 PM to 8 AM
WORKER_SLEEP_SCHEDULE=
# =============================================================================
# Development Tools
# =============================================================================
# Environment marker
ENVIRONMENT=development
# Enable development features
DEV_MODE=true
# =============================================================================
# Platform-Specific Paths (Multi-platform Variables)
# =============================================================================
# These paths are used by Flamenco's variable system to handle different
# operating systems in a render farm. Adjust paths based on your setup.
# Blender executable paths
BLENDER_LINUX=/usr/local/blender/blender
BLENDER_WINDOWS=C:\Program Files\Blender Foundation\Blender\blender.exe
BLENDER_DARWIN=/Applications/Blender.app/Contents/MacOS/Blender
# FFmpeg executable paths
FFMPEG_LINUX=/usr/bin/ffmpeg
FFMPEG_WINDOWS=C:\ffmpeg\bin\ffmpeg.exe
FFMPEG_DARWIN=/usr/local/bin/ffmpeg
# =============================================================================
# Storage Configuration
# =============================================================================
# Shared storage is critical for Flamenco operation
# In development, this is handled via Docker volumes
# Base shared storage path (inside containers)
SHARED_STORAGE_PATH=/shared-storage
# =============================================================================
# Advanced Configuration
# =============================================================================
# Container resource limits (optional)
MANAGER_MEMORY_LIMIT=1g
WORKER_MEMORY_LIMIT=512m
# Number of worker replicas (for scaling)
WORKER_REPLICAS=1
# =============================================================================
# Integration Testing (Optional)
# =============================================================================
# Enable integration test mode
INTEGRATION_TESTS=false
# Test database path
TEST_DATABASE=/tmp/flamenco-test.sqlite
# =============================================================================
# External Services (Optional)
# =============================================================================
# MQTT broker configuration (if using external MQTT)
MQTT_ENABLED=false
MQTT_BROKER=mqtt://localhost:1883
MQTT_USERNAME=
MQTT_PASSWORD=
# =============================================================================
# Security (Development Only)
# =============================================================================
# SECURITY WARNING: These settings are for DEVELOPMENT ONLY
# Never use in production environments
# Allow all origins for CORS (development only)
CORS_ALLOW_ALL=true
# Disable authentication (development only)
DISABLE_AUTH=true
# Enable debug endpoints
DEBUG_ENDPOINTS=true