<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Install Issues - Docker Compose + Postgres]]></title><description><![CDATA[<p dir="auto">I'm running Docker on Ubuntu 24.04, and I'm trying to stand up ProGet from scratch via Docker compose using your inedodb Postgres container. The containers run, the DB seems happy (I initialized the DB and got the connection string) -- but the app can't seem to find the DB until I swap the host in the DB connection for the container name. However, I get the following error when that happens:</p>
<p dir="auto">Cannot connect to database; will retry in 1 second... Full error: 28000: no pg_hba.conf entry for host "172.18.0.3", user "inedodb", database "proget", no encryption</p>
<p dir="auto">For what it's worth, I can't auth to the DB on the CLI inside the container with the creds from the connection string. That looks like:</p>
<p dir="auto">563150413e94:/# psql -U inedodb -d proget<br />
Password for user inedodb:<br />
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: password authentication failed for user "inedodb"</p>
<p dir="auto">Any help would be greatly appreciated!</p>
<pre><code>services:
  inedodb:
    image: proget.inedo.com/productimages/inedo/inedodb:17.6
    restart: unless-stopped
    ports:
      - "5432:5432"
    volumes:
      - /var/proget/database:/mnt/volume_nyc1_proget/postgres
      - /var/proget/backups:/mnt/volume_nyc1_proget/postgres

  proget:
    image: proget.inedo.com/productimages/inedo/proget:latest
    restart: unless-stopped
    depends_on:
      - inedodb
    ports:
      - "8624:80"
    environment:
      PROGET_POSTGRES_CONNECTION_STRING: Host=inedodb-1;Port=5432;Database=proget;Username=inedodb;Password=&lt;REDACTED&gt;
        #      PROGET_POSTGRES_CONNECTION_STRING: Host=193433396f00;Port=5432;Database=proget;Username=inedodb;Password=&lt;REDACTED&gt;
    volumes:
      - proget-packages:/mnt/volume_nyc1_proget/proget/packages
      - proget-extensions:/mnt/volume_nyc1_proget/proget/extensions
    deploy:
      resources:
        limits:
          memory: 2g

volumes:
  proget-packages:
  proget-extensions:

</code></pre>
]]></description><link>https://forums.inedo.com/topic/5785/install-issues-docker-compose-postgres</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 16:34:51 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5785.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Jun 2026 17:58:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Install Issues - Docker Compose + Postgres on Fri, 26 Jun 2026 17:58:56 GMT]]></title><description><![CDATA[<p dir="auto">I'm running Docker on Ubuntu 24.04, and I'm trying to stand up ProGet from scratch via Docker compose using your inedodb Postgres container. The containers run, the DB seems happy (I initialized the DB and got the connection string) -- but the app can't seem to find the DB until I swap the host in the DB connection for the container name. However, I get the following error when that happens:</p>
<p dir="auto">Cannot connect to database; will retry in 1 second... Full error: 28000: no pg_hba.conf entry for host "172.18.0.3", user "inedodb", database "proget", no encryption</p>
<p dir="auto">For what it's worth, I can't auth to the DB on the CLI inside the container with the creds from the connection string. That looks like:</p>
<p dir="auto">563150413e94:/# psql -U inedodb -d proget<br />
Password for user inedodb:<br />
psql: error: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: password authentication failed for user "inedodb"</p>
<p dir="auto">Any help would be greatly appreciated!</p>
<pre><code>services:
  inedodb:
    image: proget.inedo.com/productimages/inedo/inedodb:17.6
    restart: unless-stopped
    ports:
      - "5432:5432"
    volumes:
      - /var/proget/database:/mnt/volume_nyc1_proget/postgres
      - /var/proget/backups:/mnt/volume_nyc1_proget/postgres

  proget:
    image: proget.inedo.com/productimages/inedo/proget:latest
    restart: unless-stopped
    depends_on:
      - inedodb
    ports:
      - "8624:80"
    environment:
      PROGET_POSTGRES_CONNECTION_STRING: Host=inedodb-1;Port=5432;Database=proget;Username=inedodb;Password=&lt;REDACTED&gt;
        #      PROGET_POSTGRES_CONNECTION_STRING: Host=193433396f00;Port=5432;Database=proget;Username=inedodb;Password=&lt;REDACTED&gt;
    volumes:
      - proget-packages:/mnt/volume_nyc1_proget/proget/packages
      - proget-extensions:/mnt/volume_nyc1_proget/proget/extensions
    deploy:
      resources:
        limits:
          memory: 2g

volumes:
  proget-packages:
  proget-extensions:

</code></pre>
]]></description><link>https://forums.inedo.com/post/19819</link><guid isPermaLink="true">https://forums.inedo.com/post/19819</guid><dc:creator><![CDATA[jeremy.oaks_9309]]></dc:creator><pubDate>Fri, 26 Jun 2026 17:58:56 GMT</pubDate></item><item><title><![CDATA[Reply to Install Issues - Docker Compose + Postgres on Fri, 26 Jun 2026 22:06:22 GMT]]></title><description><![CDATA[<p dir="auto">I actually figured this out; sharing here for anyone else who might need it!</p>
<p dir="auto">There's a config file that needs to be modified in the container to allow the defined user to connect from anywhere (please make sure you handle security appropriately!):</p>
<pre><code>docker exec 564 &lt;CONTAINER&gt; -c 'echo -e "\nhost all inedodb 0.0.0.0/0 md5" &gt;&gt; /var/lib/inedodb/data/pg_hba.conf'
</code></pre>
<p dir="auto">Since this is inside the container, it will be overwritten by <code>docker compose down</code> -- so if there is a more ideal configuration, feel free to update the thread. If you're setting up from scratch like I did, the steps are:</p>
<ul>
<li><code>docker compose up -d</code> to create the containers</li>
<li>The <code>docker exec</code> command in the Postgres docs to init the DB and create the connection string</li>
<li>Editing <code>docker-compose.yml</code> with the connection string</li>
<li><code>docker compose down &lt;PROGET_CONTAINER&gt; &amp;&amp; docker compose up -d</code> to remake the app container</li>
</ul>
]]></description><link>https://forums.inedo.com/post/19821</link><guid isPermaLink="true">https://forums.inedo.com/post/19821</guid><dc:creator><![CDATA[jeremy.oaks_9309]]></dc:creator><pubDate>Fri, 26 Jun 2026 22:06:22 GMT</pubDate></item><item><title><![CDATA[Reply to Install Issues - Docker Compose + Postgres on Mon, 29 Jun 2026 20:41:21 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.inedo.com/uid/3932">@jeremy-oaks_9309</a>,</p>
<p dir="auto">Thanks for bringing this to our attention.  This looks like a change will will need to make to the InedoDB container.  Let me do some digging and I'll have an update for you soon.</p>
<p dir="auto">Thanks,<br />
Rich</p>
]]></description><link>https://forums.inedo.com/post/19826</link><guid isPermaLink="true">https://forums.inedo.com/post/19826</guid><dc:creator><![CDATA[rhessinger]]></dc:creator><pubDate>Mon, 29 Jun 2026 20:41:21 GMT</pubDate></item><item><title><![CDATA[Reply to Install Issues - Docker Compose + Postgres on Tue, 30 Jun 2026 19:52:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.inedo.com/uid/3932">@jeremy-oaks_9309</a>,</p>
<p dir="auto">After digging into this further, there are a handful of issues that have all hit here.  Before I dive into these, is there a reason you chose to use InedoDB over using the embedded database?  Our guidance is when using a single ProGet container, use the embedded database.  InedoDB is only recommended to be used with clustered installations of ProGet.</p>
<p dir="auto">In your case for using InedoDB and ProGet, there were basically 3 main issues that occurred.</p>
<p dir="auto"><strong>Issue 1:</strong><br />
Your docker compose file is not quite correct.  You currently have your volume mappings backwards which will cause your data to not be persisted through restarts.  This is also why when you updated the the pg_hba.conf file, it did not persist.  I should also point out there was a typo in our DockerFile, which pointed to the wrong directory for an InedoDB volume path.  This is fixed in <a href="https://proget1000.inedo.com/containers/tags/ProductImages/inedo/inedodb/17.10.2/overview" rel="nofollow">InedoDB 17.10.2</a>.  We also updated our <a href="https://docs.inedo.com/docs/installation/postgresql#installation-on-linux-docker" rel="nofollow">InedoDB Docker Installation Docs</a> to include the volume as well.</p>
<p dir="auto">Here is a modified version of your docker compose that will fix these issues:</p>
<pre><code>services:
  inedodb:
    image: proget.inedo.com/productimages/inedo/inedodb:17.10.2
    container_name: inedodb
    restart: unless-stopped
    ports:
      - "5432:5432"
    volumes:
      - /mnt/volume_nyc1_proget/postgres:/var/lib/inedodb

  proget:
    image: proget.inedo.com/productimages/inedo/proget:26.0.5
    container_name: proget
    restart: unless-stopped
    depends_on:
      - inedodb
    ports:
      - "8634:80"
    environment:
      PROGET_POSTGRES_CONNECTION_STRING: Host=inedodb;Port=5432;Database=proget;Username=inedodb;Password=&lt;REDACTED&gt;
    volumes:
      - /mnt/volume_nyc1_proget/proget/packages:/var/proget/packages
    deploy:
      resources:
        limits:
          memory: 2g
</code></pre>
<p dir="auto"><strong>Issue 2:</strong><br />
The default for pg_hab.conf was too restrictive.  This was actually updated in the Windows installer, but not in the <code>inedodb create --name=proget</code> command.  This has now been fixed in InedoDB 17.10.2 and it will work out of the box.  With that said, it is stored in a persisted volume, so changes will stay in affect.  The other part of this is that when create a database, the container needs to be restarted.  We have now added a message in the <code>inedodb create</code> command to restart the container.</p>
<p dir="auto"><strong>Issue 3:</strong><br />
The connection string confusion.  This is a side effect of Docker.  When we generate the connection string in InedoDB, we use the get host name command from within the container.  That hostname does not match the container name or network alias of the InedoDB .  We have now added a warning when creating a database in InedoDB on Docker that you may need to update the host in the connection string.</p>
<p dir="auto">With all those addressed in docs and InedoDB 17.10.2, you should be good to create a new ProGet instance with InedoDB.  If you have already started adding packages using your existing setup, I would be worried that your database and package files are not persisting through restarts.  I would recommend:</p>
<ol>
<li>Set up a new instance using the DockerFile I used above and a trial key</li>
<li><a href="https://docs.inedo.com/docs/proget/feeds/feed-overview/proget-administration-migrating-a-proget-feed#proget-feed-to-feed-migration" rel="nofollow">Import your packages from that instance to the new instance</a></li>
<li>Shut down you old instance and move the license key to the new instance</li>
</ol>
<p dir="auto">I know this is kind of long, so if you are confused on anything or have any other questions, please let me know!</p>
<p dir="auto">Thanks,<br />
Rich</p>
]]></description><link>https://forums.inedo.com/post/19835</link><guid isPermaLink="true">https://forums.inedo.com/post/19835</guid><dc:creator><![CDATA[rhessinger]]></dc:creator><pubDate>Tue, 30 Jun 2026 19:52:22 GMT</pubDate></item></channel></rss>