Repository navigation
feat(config): default to port 8077, which Jellyfin does not own - #81
Merged
Merged
Conversation
8096 is Jellyfin's port and Jellyfin is one of the most common self-hosted services, so the default clashed with a large share of deployments. 8077 is free in this stack. Existing installs keep their value, the env file is never rewritten, so nothing moves under anyone's feet.
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.
Closes #80.
Jellyfin has owned 8096 for years and it is one of the most self-hosted services around. Anyone running both has to change our port before installing, and the first thing a new user reads is a port that is already taken on their server. @kimllee hit exactly that in gnacho/ocnotes#35.
The default moves to 8077, both in
DefaultListenAddrand in the artifacts that ship a default: the installer, the Dockerfile, the compose example,env.example,migrate.sh, the proxy snippets and the docs.Existing installs do not move:
/etc/ocapps/envis never rewritten (the installer only fixesOCAPPS_OPENCLOUD_URLthere), so a running deployment keeps whateverOCAPPS_LISTEN_ADDRit has. What changes is where new installs start, and the docs, which no longer send anyone to a port that Jellyfin may own.Verification:
go build ./...,go vet,go test ./internal/common/config/(the default assertion moved with it),sh -nandbash -non the installer and dry runs of it with a fresh env (reads 8077) and with an existing env pointing at 8096 (the readiness check follows the env, not the default).