feat: drop AGENT_LOCATION (agent location is central-record-only); image 20260821-3
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
# password is shown ONCE — put it in .env as AGENT_PASSWORD below.
|
||||
#
|
||||
# Then on this host:
|
||||
# cp .env.agent.example .env (fill AGENT_IDENTITY / AGENT_PASSWORD /
|
||||
# AGENT_LOCATION) → docker compose -f docker-compose.agent.yml up -d
|
||||
# cp .env.agent.example .env (fill AGENT_IDENTITY / AGENT_PASSWORD)
|
||||
# → docker compose -f docker-compose.agent.yml up -d
|
||||
# The worker image pulls anonymously from the public registry — no
|
||||
# `docker login` needed. (Fallback if the registry is ever re-privatized:
|
||||
# Sam will send login instructions with the kit credentials.)
|
||||
@@ -29,7 +29,7 @@
|
||||
name: onlyscans-agent
|
||||
services:
|
||||
agent:
|
||||
image: gitea.noctools.nz/noctools/onlyscans-worker:20260821-2
|
||||
image: gitea.noctools.nz/noctools/onlyscans-worker:20260821-3
|
||||
# Bump the tag to track the central worker version (see README.md).
|
||||
container_name: onlyscans-agent
|
||||
restart: unless-stopped
|
||||
@@ -40,11 +40,10 @@ services:
|
||||
PB_URL: https://scan-api.noctools.nz
|
||||
AGENT_IDENTITY: ${AGENT_IDENTITY:?set in .env — the username created on /agents}
|
||||
AGENT_PASSWORD: ${AGENT_PASSWORD:?set in .env — the shown-once password}
|
||||
AGENT_LOCATION: ${AGENT_LOCATION:?set in .env — the location NAME from /agents}
|
||||
AGENT_HEARTBEAT_SECONDS: 30
|
||||
# Shown on /agents (agent_version) — bump together with the image tag
|
||||
# when upgrading so the central UI can confirm the rollout.
|
||||
AGENT_VERSION: 20260821-2
|
||||
AGENT_VERSION: 20260821-3
|
||||
# Optional: CVE matching via the central cve-match API. Leave EMPTY unless
|
||||
# Sam has given you a CVE_MATCH_API URL + token (its public exposure is a
|
||||
# manual central-side step). Without it, scans still complete — the CVE
|
||||
@@ -74,7 +73,7 @@ services:
|
||||
#
|
||||
# services:
|
||||
# agent:
|
||||
# image: gitea.noctools.nz/noctools/onlyscans-worker:20260821-2
|
||||
# image: gitea.noctools.nz/noctools/onlyscans-worker:20260821-3
|
||||
# network_mode: host # container shares the host's stack
|
||||
# environment:
|
||||
# ...
|
||||
|
||||
Reference in New Issue
Block a user