<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Postgresql on Servicios Rogeliowar</title><link>https://blog.serviciosrogeliowar.com/en/tags/postgresql/</link><description>Recent content in Postgresql on Servicios Rogeliowar</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Rogelio Guerra Riverón</copyright><lastBuildDate>Tue, 19 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.serviciosrogeliowar.com/en/tags/postgresql/index.xml" rel="self" type="application/rss+xml"/><item><title>Migrate Grafana and Listmonk to centralized PostgreSQL in Docker</title><link>https://blog.serviciosrogeliowar.com/en/posts/migrar-grafana-y-listmonk-a-postgresql-centralizado-en-docker/</link><pubDate>Tue, 19 May 2026 00:00:00 +0000</pubDate><guid>https://blog.serviciosrogeliowar.com/en/posts/migrar-grafana-y-listmonk-a-postgresql-centralizado-en-docker/</guid><description>&lt;h2 class="relative group"&gt;The initial problem
 &lt;div id="the-initial-problem" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#the-initial-problem" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;I had Grafana and Listmonk running in Docker containers, each with its own embedded PostgreSQL instance. This worked, but it was inefficient: two database engines consuming resources and no centralized way to do backups. I decided to consolidate everything into a single shared PostgreSQL instance.&lt;/p&gt;

&lt;h2 class="relative group"&gt;Preparation: setting up central PostgreSQL
 &lt;div id="preparation-setting-up-central-postgresql" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#preparation-setting-up-central-postgresql" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;p&gt;The first step was to create the PostgreSQL server that would be the central point. I did this with a dedicated docker-compose:&lt;/p&gt;</description></item></channel></rss>