Files
electric-cherry/docker-compose.yml
T
josh e5c0fda1ed Add native host management and role-based operator authentication
Introduce an outbound Python host agent, Debian installer, durable remote
operations, immutable game-file libraries, host-aware deployments and ports,
and occupancy-safe campaigns and draining. Native hosts do not require Komodo.

Add administrator, operator and viewer accounts, protected management routes,
secure sessions, password recovery, audit history and separate telemetry tokens.
Document first-admin setup, reporter migration and live-host acceptance checks.

Validation: 1,343 TypeScript tests and 39 agent tests passed, along with type
checking, the production build, compiled SSR/API smoke tests and administrator
recovery. Real Debian/Docker T5/T6 acceptance remains unrun.
2026-10-03 11:42:36 -04:00

30 lines
1.2 KiB
YAML

services:
electric-cherry:
build:
context: .
image: electric-cherry:latest
container_name: electric-cherry
restart: unless-stopped
ports:
- "3000:3000"
volumes:
# Preserve the existing controller database by default. Set EC_DATA_DIR
# to a dedicated persistent directory for a new controller installation.
- ${EC_DATA_DIR:-/root/zombies/.electric-cherry}:/data:rw
environment:
ORIGIN: ${EC_PUBLIC_URL:-http://localhost:3000}
EC_SETUP_TOKEN: ${EC_SETUP_TOKEN:-}
EC_TELEMETRY_TOKEN: ${EC_TELEMETRY_TOKEN:-}
EC_AUTH_ALLOW_HTTP: ${EC_AUTH_ALLOW_HTTP:-false}
# Large game files are streamed with manifest size and checksum limits.
BODY_SIZE_LIMIT: "Infinity"
DB_PATH: /data/cherry.db
GAME_FILES_ROOT: /data/game-files
BETA_ARCHIVE_DIR: /data/beta-archive
# These are logical legacy paths; native instance files live on agents.
SERVERS_ROOT: /data/legacy/t5
T6_SERVERS_ROOT: /data/legacy/t6
PLUTAINER_IMAGE: ${PLUTAINER_IMAGE:-ghcr.io/ayymoss/plutainer:latest}
# Optional. Native instances otherwise receive individual random secrets.
RCON_PASSWORD: ${RCON_PASSWORD:-}