Commit Graph
41 Commits
Author SHA1 Message Date
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 eff9cfc92c feat: Use mise tasks to ease list/install/update/diff of LXC profiles between LXC and the repo 2026-11-20 23:40:55 +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
xavier c8ef28ad7e Merge pull request 'Merge dev into main' (#12) from dev into main
Reviewed-on: cloud.logerais.com/lxd-profiles#12
2025-10-06 23:30:12 +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 bebb8cdfcf fix: Use ubuntu:lts for consistency in documentation examples
Replace ubuntu:22.04 with ubuntu:lts in test container creation example
to maintain consistency with other examples in the documentation.

🤖 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 cb7dd981bf feat: Improve documentation and add example scripts 2025-09-28 17:39:46 +02:00
xavier 0c2596f6a6 feat: Rename script to install profiles 2025-09-28 15:09:54 +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 ae01546c0a feat: Enhance setup-profiles.bash
Move pre-requisites check in a separate function
2025-07-13 00:06:13 +02:00
xavierandGemini CLI 91a4ef1c1a feat: Enhance setup-profiles.bash
The `setup-profiles.bash` script has been significantly enhanced to:
- Include a prerequisite check for `yq`.
- Extract the LXD profile name directly from the YAML file using `yq`.

The README.md has been updated to reflect the new usage of `setup-profiles.bash`,
which now accepts file paths as arguments for specific profile updates.

Co-authored-by: Gemini CLI <gemini-cli@google.com>
2025-07-04 19:30:52 +02:00
xavierandGemini CLI 6eee6eafee feat: Enhance setup-profiles.bash for selective updates
The `setup-profiles.bash` script has been enhanced to allow for selective updates of LXD profiles.
Users can now specify one or more profile names as arguments to update only those specific profiles.
If no arguments are provided, the script will default to updating all profiles found in the `profiles/` directory,
maintaining the previous behavior.

This change improves flexibility and control when managing LXD profiles.

Co-authored-by: Gemini CLI <gemini-cli@google.com>
2025-07-04 19:07:27 +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
xavier 9be5866a4d first commit 2024-02-10 01:12:23 +00:00