Files
osmedeus/build/docker/.env.example
T

51 lines
1.9 KiB
Bash

# Osmedeus Production Environment Variables
# ==========================================
# Copy this file to .env and update with your secure values:
# cp .env.example .env
#
# IMPORTANT: Never commit .env to version control!
# =============================================================================
# PostgreSQL Configuration
# =============================================================================
# Database credentials - MUST be changed for production
POSTGRES_USER=osmedeus
POSTGRES_PASSWORD=your_secure_postgres_password_here
POSTGRES_DB=osmedeus
# =============================================================================
# Redis Configuration (Optional)
# =============================================================================
# Uncomment and set if you want Redis authentication
# REDIS_PASSWORD=your_secure_redis_password_here
# =============================================================================
# Server Configuration
# =============================================================================
# External port for the API server
OSM_SERVER_PORT=8002
# Timezone for logs and timestamps
TZ=UTC
# =============================================================================
# Worker Configuration
# =============================================================================
# Number of worker replicas for distributed scanning
WORKER_REPLICAS=2
# =============================================================================
# IMPORTANT NOTES
# =============================================================================
# 1. After setting POSTGRES_PASSWORD here, update the same value in:
# osm-settings.production.yaml -> database.password
#
# 2. Generate secure passwords with:
# openssl rand -base64 24
#
# 3. Generate JWT secret (for osm-settings.production.yaml) with:
# openssl rand -base64 32
#
# 4. If using REDIS_PASSWORD, update osm-settings.production.yaml:
# redis.password: "your_redis_password"