Fluxheim/Dokumentacja/Systemd i kontenery

Systemd i kontenery

Użyj systemd dla native hostów albo kontenerów rootless dla izolowanych deploymentów.

Tryb Tryb 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

Punkt mounty kontenera

Punkt mountRecommended mode
KonfiguracjaRead-only bind mount dla configu.
Treść statycznaRead-only bind mount dla configu.
ACME state directory directoryPersistent writable volume dla state.
Disk cachePersistent writable volume sized for the cache policy.
SekretyContainer secret albo credentials directory, nie public file.

Przepływ systemd

fluxheim --config /etc/fluxheim/fluxheim.toml --check-config
sudo systemctl restart fluxheim
sudo systemctl status fluxheim
journalctl -u fluxheim -n 100 --no-pager

Lista kontrolna production

  • Przypnij wersje release albo image digests.
  • Zamontuj config i content read-only.
  • Keep ACME and cache state on persistent volumes.
  • Zweryfikuj config względem profilu, który planujesz uruchomić.
  • Trzymaj health checks i rollback commands gotowe przed zmianą traffic.
Polski