Fluxheim/Documentos/Systemd e contentores

Systemd e contentores

Use systemd para hosts nativos ou contentores rootless para deployments isolados.

Podman rootless

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

Ponto mounts de contentor

Ponto mountRecommended mode
Ajuste configPonto read-only bind mount.
Conteúdo estáticoPonto read-only bind mount.
ACME-stateVolume persistente gravável.
Disk cachePersistent writable volume sized for the cache policy.
SegredosContainer secret ou credentials directory, não um ficheiro público.

Fluxo systemd

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

Checklist de produção

  • Fixe versões de release ou image digests.
  • Monte config e conteúdo read-only.
  • Keep ACME and cache state on persistent volumes.
  • Valide a config contra o perfil que planeia executar.
  • Tenha health checks e comandos de rollback prontos antes de alterar tráfego.
Português