Files
attune/env.docker.example
2026-02-04 17:46:30 -06:00

63 lines
2.2 KiB
Plaintext

# Attune Docker Environment Variables
# Copy this file to .env in the same directory as docker-compose.yaml
# and customize the values for your deployment
# ============================================================================
# Security Settings (REQUIRED FOR PRODUCTION)
# ============================================================================
# JWT secret for token signing (MUST be changed in production)
# Generate with: openssl rand -base64 32
JWT_SECRET=docker-dev-secret-change-in-production
# Encryption key for secrets storage (MUST be at least 32 characters)
# Generate with: openssl rand -base64 32
ENCRYPTION_KEY=docker-dev-encryption-key-please-change-in-production-32plus
# ============================================================================
# Service URLs (Optional - defaults configured in docker-compose.yaml)
# ============================================================================
# API service URL for external access
API_URL=http://localhost:8080
# WebSocket URL for notifications
WS_URL=ws://localhost:8081
# ============================================================================
# Database Configuration (Optional - override docker-compose defaults)
# ============================================================================
# POSTGRES_USER=attune
# POSTGRES_PASSWORD=attune
# POSTGRES_DB=attune
# ============================================================================
# RabbitMQ Configuration (Optional - override docker-compose defaults)
# ============================================================================
# RABBITMQ_DEFAULT_USER=attune
# RABBITMQ_DEFAULT_PASS=attune
# ============================================================================
# Application Configuration
# ============================================================================
# Environment name
ENVIRONMENT=docker
# Log level (trace, debug, info, warn, error)
RUST_LOG=info
# ============================================================================
# Ports (Optional - override docker-compose defaults)
# ============================================================================
# API_PORT=8080
# NOTIFIER_PORT=8081
# WEB_PORT=3000
# POSTGRES_PORT=5432
# RABBITMQ_PORT=5672
# RABBITMQ_MGMT_PORT=15672
# REDIS_PORT=6379