fix(node-agent): mount SSH key to /home/homelab/.ssh on piha/solaria/chelsty-infra

Container runs as uid 1000 (homelab), HOME=/home/homelab. ssh without -i
looks for $HOME/.ssh — mounting to /root/.ssh was never visible to the
process user and caused silent Permission denied on event shipping.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Oskar Kapala 2026-06-12 14:32:12 +02:00
parent fc2bf5e093
commit dd64b9c878
3 changed files with 3 additions and 3 deletions

View file

@ -8,4 +8,4 @@ services:
- VPS_EVENTS_PATH=/opt/homelab/events
- CHECK_INTERVAL=60
volumes:
- /home/oskar/.ssh:/root/.ssh:ro
- /home/oskar/.ssh:/home/homelab/.ssh:ro

View file

@ -8,4 +8,4 @@ services:
- VPS_EVENTS_PATH=/opt/homelab/events
- CHECK_INTERVAL=60
volumes:
- /home/oskar/.ssh:/root/.ssh:ro
- /home/oskar/.ssh:/home/homelab/.ssh:ro

View file

@ -8,4 +8,4 @@ services:
- VPS_EVENTS_PATH=/opt/homelab/events
- CHECK_INTERVAL=60
volumes:
- /home/oskar/.ssh:/root/.ssh:ro
- /home/oskar/.ssh:/home/homelab/.ssh:ro