Systemd és konténerek
Native hostokhoz systemd, izolált telepítésekhez rootless konténerek használhatók.
Rootless Podman
podman run --name fluxheim --replace \
-p 8080:8080 \
-v ./fluxheim.toml:/etc/fluxheim/fluxheim.toml:ro \
-v ./site:/srv/site:ro \
-v fluxheim-cache:/var/cache/fluxheim \
ghcr.io/valkyoth/fluxheim:v1.6.30
Container mountok
| Mount | Recommended mode |
|---|---|
| Config | Read-only bind mount. |
| Statikus content | Read-only bind mount. |
| ACME state | Persistent writable volume. |
| Disk cache | Persistent writable volume sized for the cache policy. |
| Secretek | Container secret vagy credentials directory, nem public file. |
Systemd flow
fluxheim --config /etc/fluxheim/fluxheim.toml --check-config
sudo systemctl restart fluxheim
sudo systemctl status fluxheim
journalctl -u fluxheim -n 100 --no-pager
Production ellenőrzőlista
- Rögzíts release versionöket vagy image digesteket.
- Mountold read-onlyként a configot és contentet.
- Keep ACME and cache state on persistent volumes.
- Validáld a configot azzal a profillal, amelyet futtatni tervezel.
- Tartsd készen a health checkeket és rollback commandokat, mielőtt trafficet váltasz.