# Controller URL: use HTTPS with a trusted certificate for enrolled hosts. EC_PUBLIC_URL=https://electric-cherry.example.com # Client addresses for login throttling behind a trusted reverse proxy. # Leave ADDRESS_HEADER empty for direct connections. Enable only when all access # goes through a proxy that replaces untrusted forwarding headers. # For one trusted proxy using X-Forwarded-For: # ADDRESS_HEADER=x-forwarded-for # XFF_DEPTH=1 # Set XFF_DEPTH to the number of trusted proxy hops; see the access guide. ADDRESS_HEADER= XFF_DEPTH=1 # Generate separate secrets with: openssl rand -hex 32 # Setup token authorizes creation of the first administrator only. Remove it # after setup. Never reuse the telemetry token as a setup or host credential. EC_SETUP_TOKEN= # Game reporters send Authorization: Bearer or X-EC-Telemetry-Token. # Telemetry ingestion is disabled until a token of at least 32 chars is set. EC_TELEMETRY_TOKEN= # Bank credentials are generated and injected automatically per native instance. EC_BANK_MAX_BALANCE=250000 # Persistent SQLite metadata, game-file storage, and beta archives. # For an existing deployment, retain its original data directory. EC_DATA_DIR=/root/zombies/.electric-cherry DB_PATH=./data/cherry.db GAME_FILES_ROOT=./data/game-files BETA_ARCHIVE_DIR=./data/beta-archive BODY_SIZE_LIMIT=Infinity # Prepare this runtime from Hosts before deploying. Image and game-file # library versions are selected independently in the launch preview. PLUTAINER_IMAGE=ghcr.io/ayymoss/plutainer:latest # Optional shared RCON password. Native instances use independently generated # secrets when omitted; RCON packets are sent locally by each host agent. # RCON_PASSWORD= # Development tests only. Production host transport requires HTTPS. # EC_AGENT_ALLOW_HTTP=true # Browser login on localhost only (never for an exposed controller): # EC_AUTH_ALLOW_HTTP=true # Fleet concurrency and campaign retention are saved in Settings, not env vars. # Optional request/report timings and event-loop delay diagnostics. EC_PERF_LOG=false # Log statements taking at least this many milliseconds; 0 disables logging. EC_SLOW_SQL_MS=0 # For a local SQLite disk, set to 256 for a 256 MiB memory map. Leave 0 for network mounts. EC_SQLITE_MMAP_MB=0