Some checks failed
Sync infra to hosts / sync-beta (push) Has been skipped
Sync infra to hosts / sync-prod (push) Has been skipped
Sync infra to hosts / sync-dev (push) Failing after 6s
secrets-guard / encrypted (push) Successful in 6s
shell-lint / shellcheck (push) Successful in 13s
Validate observability stack / validate (push) Successful in 17s
PR build (required check) / changes (pull_request) Successful in 6s
secrets-guard / encrypted (pull_request) Successful in 5s
PR build (required check) / build-backend (pull_request) Has been skipped
shell-lint / shellcheck (pull_request) Successful in 6s
PR build (required check) / build-frontend (pull_request) Has been skipped
PR build (required check) / validate-observability (pull_request) Successful in 18s
PR build (required check) / gate (pull_request) Successful in 2s
24 lines
1,021 B
YAML
24 lines
1,021 B
YAML
# Overlay for vps2 ONLY — the node that runs two environments.
|
|
#
|
|
# docker compose -f docker-compose.agent.yml -f docker-compose.agent.beta.yml up -d
|
|
#
|
|
# Adds beta's applogs volume at /applogs-beta, which config.alloy reads as a
|
|
# separate source and labels host="beta". Everything else — the Docker socket,
|
|
# the Caddy logs, the primary /applogs mount — comes from the base file.
|
|
#
|
|
# This is an overlay rather than another variable in the base file because the
|
|
# /applogs-beta source is labelled beta UNCONDITIONALLY. On a node where beta
|
|
# does not run, there is no correct volume to point it at: aiming it at the
|
|
# node's own logs would republish them as beta, manufacturing data for an
|
|
# environment that isn't there. "Absent" is the only honest configuration, and
|
|
# a missing overlay expresses that exactly.
|
|
|
|
services:
|
|
alloy:
|
|
volumes:
|
|
- beta_applogs:/applogs-beta:ro
|
|
|
|
volumes:
|
|
beta_applogs:
|
|
external: true
|
|
name: ${BETA_APPLOGS_VOLUME:?set BETA_APPLOGS_VOLUME (thermograph-beta_applogs)}
|