Spell the API host as api.${DOMAIN} in the worker and login examples

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013GAeg4Jo6xjZzjwy9QDWMQ
This commit is contained in:
2026-10-05 16:54:09 +02:00
co-authored by Claude Opus 5.5
parent a8495c023c
commit 2563f14bc5
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -231,7 +231,7 @@ agent's own parser: it is the same program `fluksio-worker` installs, so the
two are interchangeable:
```sh
fluksio worker --url wss://api.fluksio.com/api/v1/workers/attach \
fluksio worker --url wss://api.${DOMAIN}/api/v1/workers/attach \
--token "$FLUKSIO_WORKER_TOKEN" --labels gpu
```
@@ -246,7 +246,7 @@ which boots one inside the command instead.
### `fluksio login`
```sh
fluksio login --url https://api.fluksio.com
fluksio login --url https://api.${DOMAIN}
```
For an engine somewhere *else*. One you started yourself needs no login:
+2 -2
View File
@@ -15,7 +15,7 @@ backend across hosts, which it never should.
pip install fluksio-worker
fluksio-worker \
--url wss://api.fluksio.com/api/v1/workers/attach \
--url wss://api.${DOMAIN}/api/v1/workers/attach \
--token "$FLUKSIO_WORKER_TOKEN" \
--labels gpu,cuda12 \
--python /opt/torch-venv/bin/python
@@ -187,7 +187,7 @@ Write the clusters into `provisioners.json` beside the flows:
"name": "hpc",
"login": "me@login.cluster",
"ssh_key": "/secrets/hpc_ed25519",
"engine_url": "wss://api.fluksio.com/api/v1/workers/attach",
"engine_url": "wss://api.${DOMAIN}/api/v1/workers/attach",
"max_idle_s": 300,
"provision_timeout_s": 900,
"profiles": [{