Commit Graph
39 Commits
Author SHA1 Message Date
xavierandClaude Opus 5.5 46171bd23f 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 13:58:02 +01:00
xavierandClaude Opus 5.5 09bf2c412f 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 13:56:25 +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 f278c14bcb docs: Docker tutorial: data volume with snapshots, adapting an installed profile
- docker-volume-data uses the default pool (present after any lxd init)
  instead of btrfs, so that it installs everywhere; the volume must exist
  before the profile is installed
- Going further: create the volume and schedule its snapshots, launch with
  the profile, manual snapshot and restore
- Adapt an installed profile: copy the volume to another pool, change the
  profile in LXD, see the difference with mise list/diff, then go back with
  install or keep it with import; a copy of the profile for a second instance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJkPw1qcoCubeKqfffm
2026-11-21 19:59:51 +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 3caef59c36 style: Normalize unattended-upgrades profile formatting
Drop the quoted description and the empty devices map, as written by
`mise run import`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018inUJksoKAfKRWoSo1tvv6
2026-11-21 15:14:00 +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
xavier 63333b2c1a feat: Update profile user-xavier 2026-11-21 00:41:17 +01:00
xavierandClaude Opus 5.5 2788a7f886 feat: Add microk8s-config and proxy-stun-turn profiles
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
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 f99bd9e65a feat: Improve description for some profiles 2026-11-21 00:07:17 +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 d21bb31d95 feat: Add a profile to deploy Coolify 2026-10-11 16:48:57 +02:00
xavier ed50804599 feat: Add a profile to deploy Dokploy 2026-10-11 16:48:46 +02:00
xavier 01b95ebe08 Revert "feat: Add "proxy" profile to share lxd socket from host to a container"
This reverts commit 6feb8ebad2.
2025-10-27 15:05:00 +01:00
xavier 6feb8ebad2 feat: Add "proxy" profile to share lxd socket from host to a container 2025-10-20 18:57:17 +02:00
xavier 232f528aca chore: minor changes in profiles
- reorder keys
- clean useless (dynamic) fields
- rename somes profile to normalize naming
2025-10-11 22:09:43 +02:00
xavier 523626a1e5 feat: Add profile to install streamrip application 2025-10-11 22:09:43 +02:00
xavierandClaude 582f351216 feat: Add unattended-upgrades system profile
Add a new system profile to enable automatic security updates on Ubuntu
containers using unattended-upgrades.

Features:
- Automatic installation of unattended-upgrades and apt-listchanges
- Daily security updates for Ubuntu packages
- Weekly cleanup of unused packages
- Configurable automatic reboot (disabled by default)
- ESM (Extended Security Maintenance) updates support

Configuration:
- Updates check: Daily
- Security updates: Automatic
- Autoclean interval: 7 days
- Automatic reboot: Disabled (can be enabled by setting to "true")
- Reboot time: 02:00 (if enabled)
- Remove unused dependencies: Enabled

Usage:
Apply this profile to any Ubuntu container to enable automatic security updates:
  lxc profile assign mycontainer default,unattended-upgrades

Closes #5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 00:07:42 +02:00
xavierandClaude 2484b28ada fix: Swap btrfs and zfs storage profile filenames
The file contents were inverted:
- btrfs.profile.yaml contained the zfs profile
- zfs.profile.yaml contained the btrfs profile

Fixed by swapping the filenames to match their content.

Fixes #8

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 23:27:15 +02:00
xavierandClaude 9a239b34b6 feat: Add LXD host socket profile for container management
This profile allows containers to access the host LXD daemon via Unix socket,
enabling centralized LXD management from within containers.

Features:
- Proxy host LXD socket to container at same path
- Automatic LXD client installation via snap
- No additional configuration required
- Practical guide and example script included

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 23:27:15 +02:00
xavierandClaude 43d621bf02 fix: Standardize proxy profile filenames to use .profile.yaml extension
Rename all proxy profile files to follow the repository naming convention:
- proxy-docker-tcp.yaml -> proxy-docker-tcp.profile.yaml
- proxy-docker-unix.yaml -> proxy-docker-unix.profile.yaml
- proxy-http.yaml -> proxy-http.profile.yaml
- proxy-https.yaml -> proxy-https.profile.yaml
- proxy-taskwarrior.yaml -> proxy-taskwarrior.profile.yaml

This ensures consistency across all profile categories in the repository.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-06 23:27:15 +02:00
xavier 4bf3a3b6fd feat: Add profile for ollama 2025-10-05 22:58:28 +02:00
xavier 18b1b7e43a feat: Improve profile for user xavier 2025-10-05 22:58:09 +02:00
xavier 0f6233590f feat(profiles): Improve docker "proxy" profiles 2025-09-24 18:14:41 +02:00
xavier f30190b0ed feat: Simplify docker profile 2025-07-13 00:07:29 +02:00
xavier e42dd60d83 feat: Add profile for user xavier 2025-06-24 03:26:42 +02:00
xavier 91045fa232 feat: Mise à jour 2024-03-13 23:14:26 +01:00
xavier 6ebedbeca3 feat(profiles): Ajout de profiles pour les proxy 2024-02-17 15:57:31 +00:00
xavier 80dc6af3c6 feat(profiles): Ajout de profiles pour les snapshots 2024-02-17 15:57:07 +00:00
xavier 1af36757a2 feat(profiles): Mise à jour des profiles stockage 2024-02-17 15:56:28 +00:00
xavier 975bff0025 feat: Mise à jour des profiles réseau 2024-02-16 16:21:45 +00:00
xavier 4bab7e9ed4 feat(profiles): Ajout d'un profile pour le volume hébergeant les certificats 2024-02-14 18:40:01 +00:00
xavier 9fdc09fdac feat(profiles): Ajout d'un profile pour le stockage dans zfs 2024-02-14 18:38:05 +00:00
xavier 510dadb00d feat(profiles): Mise à jour du profile pour traefik 2024-02-14 18:37:18 +00:00
xavier 6f7c0ee078 feat(profiles): Mise à jour des profiles pour les interfaces réseau 2024-02-14 18:37:18 +00:00
xavier 0a62df7352 feat: Ajout des profiles 2024-02-10 01:13:40 +00:00