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

Is it possible to change the Gogs HTTP_PORT for the Docker Install? #3196

Closed
oleersoy opened this issue Jun 17, 2016 · 2 comments
Closed

Is it possible to change the Gogs HTTP_PORT for the Docker Install? #3196

oleersoy opened this issue Jun 17, 2016 · 2 comments

Comments

@oleersoy
Copy link

Summary:
http://stackoverflow.com/questions/37872265/is-it-possible-to-change-the-gogs-http-port-for-the-docker-install

Gogs seems like it's hard coded to run on port 3000? Is this correct?

@BurakDev
Copy link

Isn't hardcoded. On your app.ini you can edit the value HTTP_PORT to other value. (0-1024 ports require root or special authorization, don't forget that)

@oleersoy
Copy link
Author

Thanks - I just looked at the Docker log and saw the port 80 could not be bound to as you say. I'd probably have to do something like this:
http://stackoverflow.com/questions/413807/is-there-a-way-for-non-root-processes-to-bind-to-privileged-ports-1024-on-l

I'll close this issue. Thanks again.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants