Files
electric-cherry/.env.example
T

53 lines
2.1 KiB
Bash

# Filesystem paths — inside the Komodo container, these mirror the host layout
SERVERS_ROOT=/root/zombies/t5
# T6 is separate; defaults to a sibling t6 directory beside SERVERS_ROOT.
T6_SERVERS_ROOT=/root/zombies/t6
REL_DEST=runtime/plutonium/storage/t5/raw/scripts/sp
# On-disk archive of active beta files (cleared per-beta on promote/rollback)
BETA_ARCHIVE_DIR=/root/zombies/beta-archive
# SQLite location
DB_PATH=/data/cherry.db
# Retention (days) for deployment rows and blob diffs
DEPLOY_KEEP_DAYS=7
# Fleet-wide rolling restart limit, shared by deployments and betas.
# A slot stays occupied until Komodo and RCON confirm recovery.
DEPLOYMENT_RESTART_CONCURRENCY=1
# New-server startup limit, shared by all collections and single-server launches.
# A slot stays occupied through Komodo, RCON, and selected-map verification.
DEPLOYMENT_CREATE_CONCURRENCY=1
# Komodo
KOMODO_ADDRESS=https://komodo.example.internal
KOMODO_API_KEY=
KOMODO_API_SECRET=
# Komodo server (host) that new deployments land on. Must match the exact
# name shown on the Servers page in the Komodo UI. Required to deploy new
# servers from the Fleet page.
KOMODO_TARGET_SERVER=
# Optional overrides for the plutainer defaults used when EC creates a new
# server. Change these if you fork the image or use a different docker network.
# PLUTAINER_IMAGE=ghcr.io/ayymoss/plutainer:latest
# PLUTAINER_NETWORK=komodo_default
# PLUTAINER_GAMEFILES_VOLUME=t5_game_files
# PLUTAINER_T6_GAMEFILES_VOLUME=t6_game_files
# T6_REL_DEST_SCRIPT=runtime/plutonium/storage/t6/scripts/zm
# T6_CONFIG_TARGET_FILE=dedicated_zm.cfg
# Port range EC picks from when auto-assigning a game_port to a new server.
# Must correspond to what's actually forwarded on the Komodo host firewall.
# SERVER_PORT_MIN=28960
# SERVER_PORT_MAX=28980
# RCON — shared across the fleet (every server uses the same rcon_password).
# Host defaults to host.docker.internal so the container can reach game
# servers on the same Docker host; override if RCON lives elsewhere.
RCON_PASSWORD=
RCON_HOST=host.docker.internal
RCON_TIMEOUT_MS=3000
# HTTP (Komodo API)
HTTP_TIMEOUT_MS=10000