Files
neural-hunt/.env.controller.example
jbergner 1a56dec079
All checks were successful
release-tag / release-image (push) Successful in 3m57s
RC-16
2026-08-14 14:19:16 +02:00

28 lines
909 B
Plaintext

# One file per remote worker host. Copy to .env.controller (gitignored).
SC_ID=worker-host-01
SC_NAME=Worker Host 01
SC_MASTER_URL=http://10.20.0.10:8092
SC_ADVERTISE_URL=http://10.20.0.21:8102
SERVICE_CONTROLLER_SHARED_SECRET=replace-with-the-same-32-plus-char-controller-secret-as-master
SC_CONTROL_ADDR=:8102
SC_ADMIN_ADDR=:8101
SC_ADMIN_USER=admin
SC_ADMIN_PASSWORD=replace-with-a-strong-unique-controller-password
SC_ADMIN_COOKIE_SECURE=auto
SC_MAX_WORKERS=500
SC_MAX_RUNNING_WORKERS=100
SC_HEARTBEAT_INTERVAL=15s
# Worker runtime on this host.
SC_WORKER_NETWORK=bridge
SC_WORKER_REGISTER_URL=http://10.20.0.10:8092/internal/workers/register
SC_GAME_PUBLIC_URL=https://play.example.com
SC_WORKER_IMAGE=registry.example.com/neuralhunt/worker:worker_latest
SC_WORKER_REGISTRY_SERVER=registry.example.com
SC_WORKER_REGISTRY_USERNAME=
SC_WORKER_REGISTRY_PASSWORD=
DOCKER_HOST=unix:///var/run/docker.sock