Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add handling of non-standard ports #39

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

BenjaminSalzberg
Copy link

The default port instantiated by the self-hosting system sues port 8080. There might be users who already use that port for something else. As such, this should allow for an easy set up for those users who might wish to use a different port.
Please note that I was unable to test the caddy set up, as such it might not function correctly. However, this appears to work for nginx.

Copy link
Member

@FireMasterK FireMasterK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi there, thanks for the contribution!

Please only change the external exposed port for the nginx docker-compose file, where this change would make sense. It also needs to default to port 8080 by default if there's no port specified.

nginx:
image: nginx:mainline-alpine
restart: unless-stopped
ports:
- "8080:80"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only this change should remain, the rest of the changes should be reverted.

@BenjaminSalzberg
Copy link
Author

The nginx docker file is now the only edited docker file. Additionally, when using caddy the bash script will not ask for a custom port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants