Env And Services
Last reviewed: 2026-07-05
Environment Keys
| Key | Status | Used by | Notes |
|---|---|---|---|
ANUVA_CONFIG_PATH |
Implemented | Config loader | Optional default config path. |
ANUVA_WORKER_API_TOKEN |
Implemented | Web App client | Default worker bearer token env name. Required for real Web App auth. |
ANUVA_DASHBOARD_TOKEN |
Implemented | Dashboard mutation routes | Default token env name. Launcher scripts set a local-dev default if absent. |
ANUVA__... nested env vars |
Implemented | Pydantic settings | Supported by env_nested_delimiter="__". Exact key names follow settings structure. |
Web App .env storage keys |
External | Real Web App | docs/AnuvaWeb_API_Doc.md mentions S3_BUCKET, S3_ENDPOINT, S3_REGION, S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, etc.; those are not consumed directly by this repo. |
Local Services
| Service | Default URL/port | Status | Source |
|---|---|---|---|
| Dashboard | http://127.0.0.1:7080 |
Partial | src/anuva_python_server/servers/dashboard.py |
| Content server | https://127.0.0.1:7443 |
Implemented | src/anuva_python_server/servers/content.py |
| Simulator | http://127.0.0.1:7090 |
Implemented/Partial | src/anuva_python_server/simulator/app.py |
| ZeroMQ command | tcp://127.0.0.1:5560 |
Implemented | src/anuva_python_server/unity/zmq_client.py |
| ZeroMQ status | tcp://127.0.0.1:5561 |
Implemented | src/anuva_python_server/unity/zmq_client.py |
| ZeroMQ heartbeat | tcp://127.0.0.1:5562 |
Implemented | src/anuva_python_server/unity/zmq_client.py |
| Real Web App | Example http://localhost:3000 in user guide |
External | docs/User_Guide.md |
All local worker services default to localhost.
File Paths
| Path | Status | Purpose |
|---|---|---|
C:\Anuva\Worker |
Default | Worker root. |
C:\Anuva\Worker\config\worker.yaml |
Default | Config file. |
<worker-root>\jobs\<job-id> |
Implemented | Per-job workspace. |
<worker-root>\jobs\<job-id>\presentation_config.original.json |
Implemented | Original package config. |
<worker-root>\jobs\<job-id>\presentation_config.local.json |
Implemented | Renderer-local config with asset URLs rewritten. |
<worker-root>\jobs\<job-id>\job_manifest.json |
Implemented | Manifest of paths/assets/render package. |
<worker-root>\jobs\<job-id>\output\final.mp4 |
Implemented convention | Default output expected from Unity unless event gives another path. |
<worker-root>\jobs\<job-id>\diagnostics\system_snapshot_start.json |
Implemented | Start health snapshot. |
<worker-root>\jobs\<job-id>\diagnostics\system_snapshot_end.json |
Implemented | End health snapshot. |
<worker-root>\logs\unity_stdout.log |
Implemented | Unity EXE stdout when launched by Python. |
<worker-root>\logs\unity_stderr.log |
Implemented | Unity EXE stderr when launched by Python. |
Core doc: ConfigurationAndEnvironment.