setup-spoke.sh: fix syncthing-config volume ownership before starting containers

This commit is contained in:
Justin Oros
2026-04-19 14:22:49 -07:00
parent 5a9e55b673
commit 48ba67e351

View File

@@ -375,6 +375,11 @@ docker build \
--build-arg GID="$(id -g "$SPOKE_USER")" \
-t spoke-autossh .
header "Fixing Syncthing Volume Permissions"
info "Setting correct ownership on syncthing-config volume..."
docker run --rm -v syncthing-config:/var/syncthing/config alpine chown -R "${SPOKE_UID}:${SPOKE_GID}" /var/syncthing/config
info "Syncthing volume permissions set."
header "Starting Containers"
TUNNEL_UP="false"
for ATTEMPT in 1 2 3; do