15 Commits
Author SHA1 Message Date
xavierandClaude Opus 5.5 8f5255f36c feat(profiles): nextcloud profile : Add DB dump script and systemd timers
Add a script to dump the DB in the volume dir so DB dumps can be backed
up alongside data files, like the gitea profile.

The DB is much bigger than gitea's (~216 MB of SQL): the dump runs every
4 hours and the last 24 hours are kept. The dump is plain SQL, not
gzipped, so that restic deduplicates between dumps: measured, a gzipped
dump adds ~67 MB to the repository each time, a plain one ~5 MB.

The dump goes through a pipe: the snap's AppArmor profile prevents
nextcloud.mysqldump from writing to a redirected file. --single-transaction
gives a consistent dump without locking the tables.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJhddwLWVwYhGB8t6RP
2026-11-22 15:55:42 +01:00
xavierandClaude Opus 5.5 b8b847fe68 refactor(profiles): gitea profile : Use explicit variable names in the DB dump script
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:55:42 +01:00
xavierandClaude Opus 5.5 ef76fb8fec fix(profiles): gitea profile : Enable the DB dump timer after installing gitea
The timer was enabled before the snap install, so a first run could fire
while gitea was not installed yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:55:42 +01:00
xavier 296d45e295 feat(profiles): gitea profile : Add DB dump script and systemd timers
Add a script to dump the DB in the volume dir so DB dumps can be backed
up alongside data files.
Also add systemd timers to run the script each hour.
2026-11-22 13:52:40 +01:00
xavierandClaude Opus 5.5 1333664688 feat: Add homedir and Musique volume profiles, fit streamrip to them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:38:06 +01:00
xavierandClaude Opus 5.5 c921cfc6db feat: Add app-backrest profile (backrest + restic via cloud-init)
Installs the latest backrest release, run as root by a systemd unit
listening on 0.0.0.0:9898, with its config in /etc/backrest/config.json
and its data in /var/lib/backrest. Backrest downloads and maintains the
restic version it requires (>= 0.19.1, Ubuntu ships 0.18.1) in
/var/lib/backrest/restic, symlinked to /usr/local/bin/restic for CLI use.
Meant for a backup instance mounting volume-*-ro profiles (POC).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
2026-11-21 02:28:48 +01:00
xavierandClaude Opus 5.5 206290d88b feat: Move gitea and nextcloud data volumes to dedicated profiles
- volume-gitea-data / volume-nextcloud-data: data volume mounted in the
  application instance (daily snapshots are configured on the volume)
- volume-gitea-data-ro / volume-nextcloud-data-ro: same volumes mounted
  read-only under /backup for the backup instance (restic + backrest),
  which must be unprivileged to share the volumes idmap
- app-gitea / app-nextcloud: only install the application, the volume
  now comes from the volume-* profile

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
2026-11-21 01:45:44 +01:00
xavierandClaude Opus 5.5 f37c01df57 feat: Switch profiles to cgroup v2 and drop raw.lxc from docker profiles
- Use lxc.cgroup2.devices.allow instead of the cgroup v1 key, ignored on
  cgroup v2 hosts (Ubuntu >= 21.10)
- Remove raw.lxc (unconfined apparmor, all devices, no cap drop) from
  docker, dokploy and coolify: privileged + nesting is enough, tested
  with build, published ports, privileged containers, limits and restart
- Add docker-unprivileged profile (nesting + mknod/setxattr syscall
  interception) for new containers
- Sync microk8s with the deployed version (device numbering)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
2026-11-21 00:27:16 +01:00
xavier 1930cc67e0 feat: Improve profile listing by adding a desc and add a task to display profiles 2026-11-21 00:03:28 +01:00
xavier 19b6b16ea8 feat: Update or fix some profiles 2026-11-20 23:41:58 +01:00
xavier 523626a1e5 feat: Add profile to install streamrip application 2025-10-11 22:09:43 +02:00
xavier 4bf3a3b6fd feat: Add profile for ollama 2025-10-05 22:58:28 +02:00
xavier 91045fa232 feat: Mise à jour 2024-03-13 23:14:26 +01:00
xavier 510dadb00d feat(profiles): Mise à jour du profile pour traefik 2024-02-14 18:37:18 +00:00
xavier 0a62df7352 feat: Ajout des profiles 2024-02-10 01:13:40 +00:00