homelab-codex-ws/hosts/solaria/runtime/node-agent/docker-compose.override.yml
oskar ddae57c842 fix(solaria): node-agent group_add for host docker gid 996
Base compose assumes Debian-default docker gid 999; on SOLARIA the docker
group is 996, so node-agent hit 'Docker unavailable: Permission denied' on
the socket and reported no containers (recon A2/E19). Same per-host
override pattern as piha (123) and lustro (991). Verified read-only on the
host: getent group docker -> docker996:oskar.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-29 19:20:08 +02:00

20 lines
776 B
YAML

services:
node-agent:
# Docker GID on SOLARIA is 996 (not the Debian default 999 the base compose
# assumes). Without this the agent starts with "Docker unavailable:
# Permission denied" on /var/run/docker.sock and reports no containers
# (recon RECON-multiagent-2026-07-27.md, A2/E19). Compose concatenates
# group_add lists, so the base 999 stays alongside; 996 is what grants
# socket access here. Same per-host pattern as piha (123) and lustro (991).
group_add:
- "996"
environment:
- NODE_NAME=solaria
- NODE_TYPE=ai_node
- VPS_EVENTS_HOST=100.95.58.48
- VPS_EVENTS_USER=oskar
- VPS_EVENTS_PATH=/opt/homelab/events
- CHECK_INTERVAL=60
volumes:
- /home/oskar/.ssh:/home/homelab/.ssh:ro