From f07ccbe420188dec517c36e9845cf8c5c9eea9b2 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Mon, 5 Feb 2024 09:49:38 +0100 Subject: [PATCH] Add warning about upgrading PostgreSQL --- guide/external-server-cloud/docker-compose.yml | 3 +++ guide/external-server/docker-compose.yml | 3 +++ guide/mqtt-evcc/docker-compose.yml | 3 +++ guide/mqtt-iobroker/docker-compose.yml | 3 +++ guide/raspberry-pi/docker-compose.yml | 3 +++ guide/synology/docker-compose.yml | 3 +++ 6 files changed, 18 insertions(+) diff --git a/guide/external-server-cloud/docker-compose.yml b/guide/external-server-cloud/docker-compose.yml index add7897..52f7760 100644 --- a/guide/external-server-cloud/docker-compose.yml +++ b/guide/external-server-cloud/docker-compose.yml @@ -72,6 +72,9 @@ services: max-file: '3' db: + # Don't change major version if you have an existing database! + # If you have started with an older major version (like 15), you need to migrate your database. + # This is not worth the effort, so don't do it. image: postgres:16-alpine labels: - 'com.centurylinklabs.watchtower.scope=solectrus' diff --git a/guide/external-server/docker-compose.yml b/guide/external-server/docker-compose.yml index cc8f069..ef5ff39 100644 --- a/guide/external-server/docker-compose.yml +++ b/guide/external-server/docker-compose.yml @@ -74,6 +74,9 @@ services: max-file: '3' db: + # Don't change major version if you have an existing database! + # If you have started with an older major version (like 15), you need to migrate your database. + # This is not worth the effort, so don't do it. image: postgres:16-alpine labels: - 'com.centurylinklabs.watchtower.scope=solectrus' diff --git a/guide/mqtt-evcc/docker-compose.yml b/guide/mqtt-evcc/docker-compose.yml index caa12c4..11585ee 100644 --- a/guide/mqtt-evcc/docker-compose.yml +++ b/guide/mqtt-evcc/docker-compose.yml @@ -75,6 +75,9 @@ services: max-file: '3' db: + # Don't change major version if you have an existing database! + # If you have started with an older major version (like 15), you need to migrate your database. + # This is not worth the effort, so don't do it. image: postgres:16-alpine labels: - 'com.centurylinklabs.watchtower.scope=solectrus' diff --git a/guide/mqtt-iobroker/docker-compose.yml b/guide/mqtt-iobroker/docker-compose.yml index caa12c4..11585ee 100644 --- a/guide/mqtt-iobroker/docker-compose.yml +++ b/guide/mqtt-iobroker/docker-compose.yml @@ -75,6 +75,9 @@ services: max-file: '3' db: + # Don't change major version if you have an existing database! + # If you have started with an older major version (like 15), you need to migrate your database. + # This is not worth the effort, so don't do it. image: postgres:16-alpine labels: - 'com.centurylinklabs.watchtower.scope=solectrus' diff --git a/guide/raspberry-pi/docker-compose.yml b/guide/raspberry-pi/docker-compose.yml index 494ee4b..520e52d 100644 --- a/guide/raspberry-pi/docker-compose.yml +++ b/guide/raspberry-pi/docker-compose.yml @@ -75,6 +75,9 @@ services: max-file: '3' db: + # Don't change major version if you have an existing database! + # If you have started with an older major version (like 15), you need to migrate your database. + # This is not worth the effort, so don't do it. image: postgres:16-alpine labels: - 'com.centurylinklabs.watchtower.scope=solectrus' diff --git a/guide/synology/docker-compose.yml b/guide/synology/docker-compose.yml index 494ee4b..520e52d 100644 --- a/guide/synology/docker-compose.yml +++ b/guide/synology/docker-compose.yml @@ -75,6 +75,9 @@ services: max-file: '3' db: + # Don't change major version if you have an existing database! + # If you have started with an older major version (like 15), you need to migrate your database. + # This is not worth the effort, so don't do it. image: postgres:16-alpine labels: - 'com.centurylinklabs.watchtower.scope=solectrus'