heather: fix arion volumes declaration + syncthing configDir perms

- arion-compose: project.name (required) + docker-compose.volumes (correct
  option, was docker-compose.raw.volumes which didn't exist)
- syncthing: tmpfiles for /var/lib/syncthing (configDir) owned by mikl,
  fixes 'mkdir /var/lib/syncthing: permission denied' when running as non-default user
This commit is contained in:
mikl 2026-07-12 12:39:26 +03:00
commit ebf74814bf
2 changed files with 19 additions and 3 deletions

View file

@ -63,7 +63,10 @@
};
# /srv/syncthing создаём, права mikl:users (syncthing работает от mikl).
# /var/lib/syncthing (configDir) — тоже под mikl, иначе syncthing не может
# mkdir (StateDirectory модуля срабатывает не всегда при не-default user).
systemd.tmpfiles.rules = [
"d /srv/syncthing 0755 mikl users -"
"d /var/lib/syncthing 0755 mikl users -"
];
}