-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/pkgsite: self hosting - tracking issue #39827
Comments
Two additions from what I've seen:
|
I opened #40371 to discuss issues related to running pkgsite locally. Let's use this issue to discuss self-hosting via a private GOPROXY. |
I have a project that addresses the following use cases:
There is some documentation for these use cases in the project itself. |
Looking forward to simplifying the deployability of the pkg site. |
Any updates on this? |
Just to be clear, with godoc, you could dynamically load anything on the filesystem as long as it was present in $GOPATH/src/path/to/blah, and now you need to specify every package you want to load when you start the new binary? |
pkgsite only serves things in its database, which it populates whenever you make a query for a package that it doesn't know about yet. In addition, when I set it up for the first time, I Actually, I also put it our private repositories in seed.txt as well, but you don't have to do that. |
I read the doc I found as well as some issues like #50229 but I'm still not sure how to properly run pkgsite for internal use.
@julieqiu Is using a private GOPROXY the correct way to run pkgsite locally? So far, I run an instance of it using command like |
I have created a Helm chart that deploys most of pkgsite's architecture (except for the worker), plus a private module proxy, on kubernetes. Might be helpful to others who wish to host private pkgsite instances: https://github.com/cezarguimaraes/pkgsite |
Here's another Helm chart that works around issues with the frontend server not supporting .netrc files, which results in invalid source code links with GitLab: https://github.com/mxk/go-pkgsite |
This is an umbrella issue that tracks all the possible blockers for having users self host the pkgsite codebase.
Issues:
Please feel free to edit this issue to add/remove issues above.
The text was updated successfully, but these errors were encountered: