systemd och containrar
Använd systemd för native-värdar eller rootless-containrar för isolerade driftsättningar.
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-mounts
| Mount | Recommended mode |
|---|---|
| Config | Lasbar bind mount. |
| Statiskt innehall | Lasbar bind mount. |
| ACME-tillstand | Persistent skrivbar volym. |
| Disk cache | Persistent writable volume sized for the cache policy. |
| Secrets | Container-secret eller credentials-katalog, inte en publik fil. |
Systemd-flode
fluxheim --config /etc/fluxheim/fluxheim.toml --check-config
sudo systemctl restart fluxheim
sudo systemctl status fluxheim
journalctl -u fluxheim -n 100 --no-pager
Produktionschecklista
- Pinna release-versioner eller image-digests.
- Montera konfiguration och innehåll read-only.
- Keep ACME and cache state on persistent volumes.
- Validera konfigurationen mot profilen du planerar att kora.
- Ha health checks och rollback-kommandon redo innan trafiken andras.