Repository navigation
Conversation
Traefik's version was hardcoded (env TRAEFIK_VERSION or default 3.6.7), so upgrading meant redeploying nomploy. Store the version in a small on-disk file (traefik-version, next to traefik.yml) that both deploy paths read — the main control-plane container (initializeStandaloneTraefik) and the HA pool job (generateTraefikHaJob) — falling back to env/default when absent, so default behavior is unchanged. Add settings.getTraefikVersion (query) + settings.upgradeTraefik (adminProcedure: persist the version, then in the background recreate the main container on the new image and re-register the HA pool; audited). New 'Traefik Version' card in Settings → Web Server shows the current version and upgrades with a confirm dialog warning that it briefly interrupts ingress. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pipozzz
added a commit
that referenced
this pull request
Oct 6, 2026
panel: upgrade Traefik version from Settings → Web Server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the ability to upgrade Traefik from the panel (Settings → Web Server → new "Traefik Version" card).
Traefik's version was hardcoded (
TRAEFIK_VERSION= env or default3.6.7). Now it's stored in a small on-disk file (traefik-version, next totraefik.yml), read by both deploy paths — the main control-plane container (initializeStandaloneTraefik) and the HA pool Nomad job (generateTraefikHaJob) — falling back to env/default when absent, so default behavior is unchanged.How
traefik-setup.ts:getTraefikVersion()/setTraefikVersion()(semver-validated, on-disk file);imageNamenow resolves viagetTraefikVersion().traefik-ha.ts: HA job image usesgetTraefikVersion().settings.ts:getTraefikVersion(query) +upgradeTraefik(adminProcedure) — persists the version, then in the background recreates the main container on the new image and re-registers the HA pool (best-effort); audited.web-server/upgrade-traefik.tsx— current version + target input + Upgrade button behind a confirm dialog warning that it briefly interrupts ingress (pull + recreate).Notes
Validation
scripts/check.shgreen (server build, 529 tests, app-tsc unchanged / 8 pre-existing). Not yet live-tested — recommend merging, rolling, then trying an upgrade from the UI.🤖 Generated with Claude Code