48df10b17e
- Harden DB-backed handlers and seed profiles; align client wire shapes for cluster resources, QEMU config, and node SSL fields - Serve plain HTTP on Compose :8006; keep TLS optional (--profile tls) and terminate HTTPS at Kubernetes Ingress - Add pulumi-tests (full contract surface majors 6–9 + BPG lifecycle) and make pulumi-tests - Ship bilingual docs, CHANGELOG, SECURITY, CONTRIBUTING, and GitHub Actions (make ci + Compose/Helm validation)
30 lines
1.2 KiB
Bash
30 lines
1.2 KiB
Bash
APP_HOST=0.0.0.0
|
|
APP_PORT=8006
|
|
DATABASE_URL=postgresql://proxmox:proxmox@postgres:5432/proxmox_simulator
|
|
TEST_DATABASE_URL=postgresql://proxmox:proxmox@postgres:5432/proxmox_simulator
|
|
DB_POOL_MIN_SIZE=1
|
|
DB_POOL_MAX_SIZE=10
|
|
DB_CONNECT_TIMEOUT_SECONDS=10
|
|
DB_COMMAND_TIMEOUT_SECONDS=30
|
|
LOG_LEVEL=INFO
|
|
REQUEST_ID_HEADER=X-Request-ID
|
|
PVE_API_VERSION=9.2.3
|
|
CONTRACT_SNAPSHOT=/app/contracts/pve-9.2.3.json
|
|
COMPATIBILITY_EVIDENCE=/app/evidence/pve-9.2.3.json
|
|
CONTRACT_FALLBACK=error
|
|
CATALOG_ARTIFACT_URL_6=https://pve.proxmox.com/pve-docs-6/api-viewer/apidoc.js
|
|
CATALOG_ARTIFACT_URL_7=https://pve.proxmox.com/pve-docs-7/api-viewer/apidoc.js
|
|
CATALOG_ARTIFACT_URL_8=https://pve.proxmox.com/pve-docs-8/api-viewer/apidoc.js
|
|
CATALOG_ARTIFACT_URL_9=https://pve.proxmox.com/pve-docs/api-viewer/apidoc.js
|
|
TICKET_SIGNING_KEY=development-only-signing-key-change-me
|
|
TASK_WORKER_CONCURRENCY=2
|
|
TASK_LEASE_SECONDS=30
|
|
SIMULATION_SEED=42
|
|
SIMULATION_TIME_SCALE=10
|
|
SIMULATOR_ADMIN_ENABLED=false
|
|
SIMULATOR_ADMIN_TOKEN=replace-with-a-long-random-secret
|
|
PROXMOXER_HOST=
|
|
PROXMOXER_PORT=8443
|
|
# For proxmoxer (HTTPS-only): docker compose --profile tls up -d
|
|
# then PROXMOXER_HOST=tls-gateway PROXMOXER_PORT=8443
|