Fluxheim/Dokumentacija/Systemd i containeri

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čkaRecommended mode
KonfiguracijaRead-only bind mount postavka.
Statički contentRead-only bind mount postavka.
ACME stanjePersistent writable volume spremište.
Disk cachePersistent writable volume sized for the cache policy.
SecretContainer 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.
Bosanski