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 mount | Recommended mode |
|---|---|
| Ajuste config | Ponto read-only bind mount. |
| Conteúdo estático | Ponto read-only bind mount. |
| ACME-state | Volume persistente gravável. |
| Disk cache | Persistent writable volume sized for the cache policy. |
| Segredos | Container 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.