Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    ProGet on custom port on Docker

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bishbashbosh_1120
      last edited by

      Re: Proget on Docker Container

      Per the installation instructions for ProGet on Docker, it should be possible to redirect the internal port 80 externally to whatever you like, say 8080 or whatever., using docker run ... -p 8080:80

      -- "If you don't want to use port 80, you can change the first port number to whatever you would like."

      However, this does not work and I am seeing the same behaviour as in the referenced issue above - attempting to update packages from the feed from VS .net fails, as ProGet appears to send back a download URL to VS .net omitting the custom port (as of course it would, because it has no notion of Docker containers or any custom port mappings thereof), so the download fails.

      Suggest you either remove the docker run -p suggestion from the documentation or fix it so that the port that the server listens on is also easily configurable (from an environment variable?), then the external port can mirror the internal container port and it all should work?

      I seem to remember having this same issue on the Windows edition in a former life - solved it having IIS redirect a DNS alias on the server to the port that we had ProGet running on - ProGet then picks up the DNS alias for the feedback URL and it doesn't matter that it omits the port..

      1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer
        last edited by

        Hello; you'll need to change the BaseUrl in advanced settings so that ProGet can construct an absolute URL when needed (certain NuGet fields, etc). I've updated the docs to reflect this.

        1 Reply Last reply Reply Quote 1
        • B Offline
          bishbashbosh_1120
          last edited by

          Hi. Ah, thanks for the reminder about BaseUrl; I did have a hunt through advanced settings before posting here, but completely missed it. Still, good that you have updated the docs to reflect this - will hopefully save someone else some time. Cheers.

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation