terinjokes / docker-npmjs

Docker image for a private npmjs repository
154 stars 26 forks source link

Better networking #5

Open terinjokes opened 11 years ago

terinjokes commented 11 years ago

Networking is a bit of a hack right now, external ports have to exactly match internal ports for the system to work properly, due to how npm-delegate checks the npmjs instance and how it refers the client to downloading the package.

Allowing these ports to be more flexible would be nice. The best solution requires an upstream fix, but I think we can still be more flexible with our startup flags.