Systemd i containeri
Koristi systemd za native hostove ili rootless containere za izolirane deployment.
Rootless Podman način način
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 mount
| Mount točka točka | Recommended mode |
|---|---|
| Konfiguracija | Read-only bind mount postavka. |
| Statički content | Read-only bind mount postavka. |
| ACME stanje | Persistent writable volume spremište. |
| Disk cache | Persistent writable volume sized for the cache policy. |
| Secret | Container secret ili credentials directory, ne public file. |
Systemd tijek
fluxheim --config /etc/fluxheim/fluxheim.toml --check-config
sudo systemctl restart fluxheim
sudo systemctl status fluxheim
journalctl -u fluxheim -n 100 --no-pager
Production kontrolni popis
- Fiksiraj release version ili image digest.
- Mount točka točka config i content read-only.
- Keep ACME and cache state on persistent volumes.
- Validiraj config prema profilu koji planiraš pokrenuti.
- Drži health check i rollback commands spremne prije promjene traffic.