Files
hive/.env.example
anthonyrawlins f3cbb5c6f7 Add environment configuration and local development documentation
- Parameterize CORS_ORIGINS in docker-compose.swarm.yml
- Add .env.example with configuration options
- Create comprehensive LOCAL_DEVELOPMENT.md guide
- Update README.md with environment variable documentation
- Provide alternatives for local development without production domain

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 18:20:52 +10:00

23 lines
653 B
Plaintext

# Hive Environment Configuration
# Copy this file to .env and customize for your environment
# CORS Configuration
# For development: CORS_ORIGINS=http://localhost:3000,http://localhost:3001
# For production: CORS_ORIGINS=https://hive.home.deepblack.cloud
CORS_ORIGINS=https://hive.home.deepblack.cloud
# Database Configuration
DATABASE_URL=postgresql://hive:hivepass@postgres:5432/hive
# Redis Configuration
REDIS_URL=redis://redis:6379
# Environment
ENVIRONMENT=production
# Logging
LOG_LEVEL=info
# Traefik Configuration (for local development)
# Set this if you want to use a different domain for local development
# TRAEFIK_HOST=hive.local.dev