# DunckOps Platform Production Environment
# Copy this file to .env and replace placeholder values before running Docker Compose.

# Runtime
ASPNETCORE_ENVIRONMENT=Production
API_PORT=9100
WEB_PORT=9000

# Local DunckOps metadata database (generated by install.sh)
DUNCKOPS_DB_NAME=pitr
DUNCKOPS_DB_USER=pitr
DUNCKOPS_DB_PASSWORD=replace-with-generated-password

# Local MinIO storage (generated by install.sh)
LOCAL_MINIO_API_PORT=9002
LOCAL_MINIO_CONSOLE_PORT=9001
LOCAL_MINIO_BUCKET=pitr-local
LOCAL_MINIO_ACCESS_KEY=replace-with-generated-access-key
LOCAL_MINIO_SECRET_KEY=replace-with-generated-secret-key

# Auth (generated by install.sh, 32+ characters each)
Jwt__Key=replace-with-at-least-32-characters
Encryption__MasterKey=replace-with-at-least-32-characters

# Docker Agent (generated by install.sh, 32+ characters)
DOCKER_AGENT_KEY=replace-with-at-least-32-characters
DOCKER_ALLOW_ANY_CONTAINER=false

# Commercial API (SSO login validation & license phone-home)
VITE_COMMERCIAL_API_URL=/commercial-api
CommercialAuth__ApiUrl=https://api.dunckops.com/api/v1

# License Key (obtained from https://dunckops.com/dashboard)
DUNCKOPS_LICENSE_KEY=

# Version (leave as latest or pin to a specific version like v1.0.0)
DUNCKOPS_VERSION=latest
REGISTRY_OWNER=dunck01

# CORS
CORS_ORIGINS=http://localhost:9000

# Docker Ops (optional - only needed for backup/restore operations)
# DOCKER_OPERATIONS_ENABLED=true
# DOCKER_AGENT_HOST_PORT=9011
