Seed writable Pi runtime config in Docker

This commit is contained in:
2026-07-30 20:31:10 -04:00
parent 1a63da77f3
commit 8d6c471b10
4 changed files with 21 additions and 4 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
# Mount only non-secret Pi agent model/auth configuration; keep it read-only.
- ${PI_AGENT_CONFIG_DIR:-./appdata/pi-agent}:/home/node/.pi/agent:ro
# Seed Pi's writable runtime config from this read-only credential mount.
- ${PI_AGENT_CONFIG_DIR:-./appdata/pi-agent}:/run/pi-agent-config:ro
depends_on:
db:
condition: service_healthy