From ae5a1a9af23665e5989524153a15e7804ef09b5a Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sat, 30 Mar 2024 19:38:23 +0000 Subject: [PATCH 01/13] feat: PostgresProvider - Add POSTGRES_URL override. --- .../installation/backend-config.md | 1 + .../getting-started/installation/postgres.md | 55 +++++++++++-------- mealie/core/settings/db_providers.py | 11 +++- 3 files changed, 41 insertions(+), 26 deletions(-) diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index 8f0379c2f8f2..83a14d3d06cf 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -33,6 +33,7 @@ | POSTGRES_SERVER | postgres | Postgres database server address | | POSTGRES_PORT | 5432 | Postgres database port | | POSTGRES_DB | mealie | Postgres database name | +| POSTGRES_URL | None | Postgres URL override. Must be used with DB_ENGINE: postgres | ### Email diff --git a/docs/docs/documentation/getting-started/installation/postgres.md b/docs/docs/documentation/getting-started/installation/postgres.md index 7e0f33a4277d..9ffc94ac4c8c 100644 --- a/docs/docs/documentation/getting-started/installation/postgres.md +++ b/docs/docs/documentation/getting-started/installation/postgres.md @@ -5,40 +5,41 @@ PostgreSQL might be considered if you need to support many concurrent users. In **For Environment Variable Configuration, see** [Backend Configuration](./backend-config.md) ```yaml ---- -version: "3.7" services: mealie: - image: ghcr.io/mealie-recipes/mealie:v1.3.2 # (3) + image: ghcr.io/mealie-recipes/mealie:1.3.2 # (3) container_name: mealie + restart: always ports: - "9925:9000" # (1) deploy: resources: limits: memory: 1000M # (2) - depends_on: - - postgres volumes: - mealie-data:/app/data/ + - /etc/timezone:/etc/timezone:ro environment: - # Set Backend ENV Variables Here - - ALLOW_SIGNUP=true - - PUID=1000 - - PGID=1000 - - TZ=America/Anchorage - - MAX_WORKERS=1 - - WEB_CONCURRENCY=1 - - BASE_URL=https://mealie.yourdomain.com + # Set Backend ENV Variables Here + ALLOW_SIGNUP: true + PUID: 1000 + PGID: 1000 + MAX_WORKERS: 1 + WEB_CONCURRENCY: 1 + BASE_URL: http://localhost # (4) + # Database Settings + DB_ENGINE: postgres + POSTGRES_URL: 'postgres://mealie:mealie@postgres/mealie' # (5) + # The following variables are supported if you do not specify POSTGRES_URL + # POSTGRES_USER: mealie + # POSTGRES_PASSWORD: mealie + # POSTGRES_SERVER: postgres + # POSTGRES_PORT: 5432 + # POSTGRES_DB: mealie + depends_on: + postgres: + condition: service_healthy - # Database Settings - - DB_ENGINE=postgres - - POSTGRES_USER=mealie - - POSTGRES_PASSWORD=mealie - - POSTGRES_SERVER=postgres - - POSTGRES_PORT=5432 - - POSTGRES_DB=mealie - restart: always postgres: container_name: postgres image: postgres:15 @@ -48,12 +49,15 @@ services: environment: POSTGRES_PASSWORD: mealie POSTGRES_USER: mealie + healthcheck: + test: ["CMD", "pg_isready"] + interval: 30s + timeout: 20s + retries: 3 volumes: mealie-data: - driver: local mealie-pgdata: - driver: local ``` @@ -61,3 +65,8 @@ volumes: 1. To access the mealie interface you only need to expose port 9000 on the mealie container. Here we expose port 9925 on the host, but feel free to change this to any port you like. 2. Setting an explicit memory limit is recommended. Python can pre-allocate larger amounts of memory than is necessary if you have a machine with a lot of RAM. This can cause the container to idle at a high memory usage. Setting a memory limit will improve idle performance. 3. You should double check this value isn't out of date when setting up for the first time; check the README and use the value from the "latest release" badge at the top - the format should be `vX.Y.Z`. Whilst a 'latest' tag is available, the Mealie team advises specifying a specific version tag and consciously updating to newer versions when you have time to read the release notes and ensure you follow any manual actions required (which should be rare). +4. You should replace this with your domain eg. mealie.yourdomain.com +5. When set, this variable will override POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_SERVER, +POSTGRES_PORT, and POSTGRES_DB. It must be used in conjunction with DB_ENGINE: postgres. +The format is 'postgresql://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_SERVER:POSTGRES_PORT/POSTGRES_DB' +You may pass in a UNIX socket with the following format: postgresql://POSTGRES_USER:POSTGRES_PASSWORD@/POSTGRES_DB?host=/run/postgresql', where the path at the end is the parent directory of the socket. diff --git a/mealie/core/settings/db_providers.py b/mealie/core/settings/db_providers.py index 9cd1a5aea101..07d7faf07ea2 100644 --- a/mealie/core/settings/db_providers.py +++ b/mealie/core/settings/db_providers.py @@ -39,22 +39,27 @@ class PostgresProvider(AbstractDBProvider, BaseSettings): POSTGRES_SERVER: str = "postgres" POSTGRES_PORT: str = "5432" POSTGRES_DB: str = "mealie" + POSTGRES_URL: str = "" model_config = SettingsConfigDict(arbitrary_types_allowed=True, extra="allow") @property def db_url(self) -> str: - host = f"{self.POSTGRES_SERVER}:{self.POSTGRES_PORT}" - return str( + if self.POSTGRES_URL: + return self.POSTGRES_URL + + self.db_url: str = str( PostgresDsn.build( scheme="postgresql", username=self.POSTGRES_USER, password=urlparse.quote_plus(self.POSTGRES_PASSWORD), - host=host, + host=f"{self.POSTGRES_SERVER}:{self.POSTGRES_PORT}", path=f"{self.POSTGRES_DB or ''}", ) ) + return self.POSTGRES_URL + @property def db_url_public(self) -> str: user = self.POSTGRES_USER From 2b09495e8733e4053a6c95b6adee851caaa2d7fc Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sat, 30 Mar 2024 19:39:15 +0000 Subject: [PATCH 02/13] fix: update sqlite doc for consistency --- .../getting-started/installation/sqlite.md | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/docs/docs/documentation/getting-started/installation/sqlite.md b/docs/docs/documentation/getting-started/installation/sqlite.md index 937cb4cd52a1..d1cb85d2d9af 100644 --- a/docs/docs/documentation/getting-started/installation/sqlite.md +++ b/docs/docs/documentation/getting-started/installation/sqlite.md @@ -10,11 +10,11 @@ SQLite is a popular, open source, self-contained, zero-configuration database th ```yaml --- -version: "3.7" services: mealie: - image: ghcr.io/mealie-recipes/mealie:v1.3.2 # (3) + image: ghcr.io/mealie-recipes/mealie:1.3.2 # (3) container_name: mealie + restart: always ports: - "9925:9000" # (1) deploy: @@ -23,20 +23,21 @@ services: memory: 1000M # (2) volumes: - mealie-data:/app/data/ + - /etc/timezone:/etc/timezone:ro environment: - # Set Backend ENV Variables Here - - ALLOW_SIGNUP=true - - PUID=1000 - - PGID=1000 - - TZ=America/Anchorage - - MAX_WORKERS=1 - - WEB_CONCURRENCY=1 - - BASE_URL=https://mealie.yourdomain.com - restart: always + # Set Backend ENV Variables Here + ALLOW_SIGNUP: true + PUID: 1000 + PGID: 1000 + MAX_WORKERS: 1 + WEB_CONCURRENCY: 1 + BASE_URL: http://localhost # (4) + depends_on: + postgres: + condition: service_healthy volumes: mealie-data: - driver: local ``` @@ -44,3 +45,4 @@ volumes: 1. To access the mealie interface you only need to expose port 9000 on the container. Here we expose port 9925 on the host, but feel free to change this to any port you like. 2. Setting an explicit memory limit is recommended. Python can pre-allocate larger amounts of memory than is necessary if you have a machine with a lot of RAM. This can cause the container to idle at a high memory usage. Setting a memory limit will improve idle performance. 3. You should double check this value isn't out of date when setting up for the first time; check the README and use the value from the "latest release" badge at the top - the format should be `vX.Y.Z`. Whilst a 'latest' tag is available, the Mealie team advises specifying a specific version tag and consciously updating to newer versions when you have time to read the release notes and ensure you follow any manual actions required (which should be rare). +4. You should replace this with your domain eg. mealie.yourdomain.com From 2f9b7119736cd4c7190cfe4d5820443956fb73de Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sat, 30 Mar 2024 20:18:13 +0000 Subject: [PATCH 03/13] revert: revert typo in docker tag. --- .../docs/documentation/getting-started/installation/postgres.md | 2 +- docs/docs/documentation/getting-started/installation/sqlite.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/documentation/getting-started/installation/postgres.md b/docs/docs/documentation/getting-started/installation/postgres.md index 9ffc94ac4c8c..588cc3f97bc6 100644 --- a/docs/docs/documentation/getting-started/installation/postgres.md +++ b/docs/docs/documentation/getting-started/installation/postgres.md @@ -7,7 +7,7 @@ PostgreSQL might be considered if you need to support many concurrent users. In ```yaml services: mealie: - image: ghcr.io/mealie-recipes/mealie:1.3.2 # (3) + image: ghcr.io/mealie-recipes/mealie:v1.3.2 # (3) container_name: mealie restart: always ports: diff --git a/docs/docs/documentation/getting-started/installation/sqlite.md b/docs/docs/documentation/getting-started/installation/sqlite.md index d1cb85d2d9af..91436f246a26 100644 --- a/docs/docs/documentation/getting-started/installation/sqlite.md +++ b/docs/docs/documentation/getting-started/installation/sqlite.md @@ -12,7 +12,7 @@ SQLite is a popular, open source, self-contained, zero-configuration database th --- services: mealie: - image: ghcr.io/mealie-recipes/mealie:1.3.2 # (3) + image: ghcr.io/mealie-recipes/mealie:v1.3.2 # (3) container_name: mealie restart: always ports: From 24d885472323b6da482bbb6efa632c3fef5020f9 Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sat, 30 Mar 2024 20:55:00 +0000 Subject: [PATCH 04/13] fix: typo in db_providers.py --- mealie/core/settings/db_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mealie/core/settings/db_providers.py b/mealie/core/settings/db_providers.py index 07d7faf07ea2..0a9df39a6fcf 100644 --- a/mealie/core/settings/db_providers.py +++ b/mealie/core/settings/db_providers.py @@ -48,7 +48,7 @@ class PostgresProvider(AbstractDBProvider, BaseSettings): if self.POSTGRES_URL: return self.POSTGRES_URL - self.db_url: str = str( + self.POSTGRES_URL = str( PostgresDsn.build( scheme="postgresql", username=self.POSTGRES_USER, From 6c7cb7e7951a671ee54eb9854f70e350fef16bdf Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sun, 31 Mar 2024 04:42:38 +0000 Subject: [PATCH 05/13] change: rename POSTGRES_URL to POSTGRES_URL_OVERRIDE / no longer changes value --- mealie/core/settings/db_providers.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mealie/core/settings/db_providers.py b/mealie/core/settings/db_providers.py index 0a9df39a6fcf..99147554ff95 100644 --- a/mealie/core/settings/db_providers.py +++ b/mealie/core/settings/db_providers.py @@ -39,16 +39,16 @@ class PostgresProvider(AbstractDBProvider, BaseSettings): POSTGRES_SERVER: str = "postgres" POSTGRES_PORT: str = "5432" POSTGRES_DB: str = "mealie" - POSTGRES_URL: str = "" + POSTGRES_URL_OVERRIDE: str | None = None model_config = SettingsConfigDict(arbitrary_types_allowed=True, extra="allow") @property def db_url(self) -> str: - if self.POSTGRES_URL: - return self.POSTGRES_URL + if self.POSTGRES_URL_OVERRIDE: + return self.POSTGRES_URL_OVERRIDE - self.POSTGRES_URL = str( + return str( PostgresDsn.build( scheme="postgresql", username=self.POSTGRES_USER, @@ -58,8 +58,6 @@ class PostgresProvider(AbstractDBProvider, BaseSettings): ) ) - return self.POSTGRES_URL - @property def db_url_public(self) -> str: user = self.POSTGRES_USER From d1f82df93603d7c4d7bbb53dcc26eea87aca36a7 Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sun, 31 Mar 2024 04:47:15 +0000 Subject: [PATCH 06/13] change: reverted BASE_URL value, removed note, removed incorrect lines --- .../documentation/getting-started/installation/sqlite.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/docs/documentation/getting-started/installation/sqlite.md b/docs/docs/documentation/getting-started/installation/sqlite.md index 91436f246a26..d972809ffe00 100644 --- a/docs/docs/documentation/getting-started/installation/sqlite.md +++ b/docs/docs/documentation/getting-started/installation/sqlite.md @@ -9,7 +9,6 @@ SQLite is a popular, open source, self-contained, zero-configuration database th **For Environment Variable Configuration, see** [Backend Configuration](./backend-config.md) ```yaml ---- services: mealie: image: ghcr.io/mealie-recipes/mealie:v1.3.2 # (3) @@ -31,10 +30,7 @@ services: PGID: 1000 MAX_WORKERS: 1 WEB_CONCURRENCY: 1 - BASE_URL: http://localhost # (4) - depends_on: - postgres: - condition: service_healthy + BASE_URL: https://mealie.yourdomain.com volumes: mealie-data: @@ -45,4 +41,3 @@ volumes: 1. To access the mealie interface you only need to expose port 9000 on the container. Here we expose port 9925 on the host, but feel free to change this to any port you like. 2. Setting an explicit memory limit is recommended. Python can pre-allocate larger amounts of memory than is necessary if you have a machine with a lot of RAM. This can cause the container to idle at a high memory usage. Setting a memory limit will improve idle performance. 3. You should double check this value isn't out of date when setting up for the first time; check the README and use the value from the "latest release" badge at the top - the format should be `vX.Y.Z`. Whilst a 'latest' tag is available, the Mealie team advises specifying a specific version tag and consciously updating to newer versions when you have time to read the release notes and ensure you follow any manual actions required (which should be rare). -4. You should replace this with your domain eg. mealie.yourdomain.com From ab37c2e8c0a7fbc80362856c39275ae135283d6a Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sun, 31 Mar 2024 04:48:21 +0000 Subject: [PATCH 07/13] change: reverted BASE_URL value, removed notes, removed mention of POSTGRES_URL_OVERRIDE --- .../getting-started/installation/postgres.md | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/docs/docs/documentation/getting-started/installation/postgres.md b/docs/docs/documentation/getting-started/installation/postgres.md index 588cc3f97bc6..ce5b8c3d6146 100644 --- a/docs/docs/documentation/getting-started/installation/postgres.md +++ b/docs/docs/documentation/getting-started/installation/postgres.md @@ -26,16 +26,14 @@ services: PGID: 1000 MAX_WORKERS: 1 WEB_CONCURRENCY: 1 - BASE_URL: http://localhost # (4) + BASE_URL: https://mealie.yourdomain.com # Database Settings DB_ENGINE: postgres - POSTGRES_URL: 'postgres://mealie:mealie@postgres/mealie' # (5) - # The following variables are supported if you do not specify POSTGRES_URL - # POSTGRES_USER: mealie - # POSTGRES_PASSWORD: mealie - # POSTGRES_SERVER: postgres - # POSTGRES_PORT: 5432 - # POSTGRES_DB: mealie + POSTGRES_USER: mealie + POSTGRES_PASSWORD: mealie + POSTGRES_SERVER: postgres + POSTGRES_PORT: 5432 + POSTGRES_DB: mealie depends_on: postgres: condition: service_healthy @@ -65,8 +63,3 @@ volumes: 1. To access the mealie interface you only need to expose port 9000 on the mealie container. Here we expose port 9925 on the host, but feel free to change this to any port you like. 2. Setting an explicit memory limit is recommended. Python can pre-allocate larger amounts of memory than is necessary if you have a machine with a lot of RAM. This can cause the container to idle at a high memory usage. Setting a memory limit will improve idle performance. 3. You should double check this value isn't out of date when setting up for the first time; check the README and use the value from the "latest release" badge at the top - the format should be `vX.Y.Z`. Whilst a 'latest' tag is available, the Mealie team advises specifying a specific version tag and consciously updating to newer versions when you have time to read the release notes and ensure you follow any manual actions required (which should be rare). -4. You should replace this with your domain eg. mealie.yourdomain.com -5. When set, this variable will override POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_SERVER, -POSTGRES_PORT, and POSTGRES_DB. It must be used in conjunction with DB_ENGINE: postgres. -The format is 'postgresql://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_SERVER:POSTGRES_PORT/POSTGRES_DB' -You may pass in a UNIX socket with the following format: postgresql://POSTGRES_USER:POSTGRES_PASSWORD@/POSTGRES_DB?host=/run/postgresql', where the path at the end is the parent directory of the socket. From 35f6b0e80e61acaa2f991be099360892b8dd3c5d Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Sun, 31 Mar 2024 04:49:41 +0000 Subject: [PATCH 08/13] fix: POSTGRES_URL is now POSTGRES_URL_OVERRIDE --- .../getting-started/installation/backend-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index 83a14d3d06cf..33bbb34f4443 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -33,7 +33,7 @@ | POSTGRES_SERVER | postgres | Postgres database server address | | POSTGRES_PORT | 5432 | Postgres database port | | POSTGRES_DB | mealie | Postgres database name | -| POSTGRES_URL | None | Postgres URL override. Must be used with DB_ENGINE: postgres | +| POSTGRES_URL_OVERRIDE | None | Postgres URL override. Must be used with DB_ENGINE: postgres | ### Email From a30084a1992e6d024f99a2600e3d0921d62f917c Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Tue, 2 Apr 2024 11:23:06 +0000 Subject: [PATCH 09/13] change: POSTGRES_URL_OVERRIDE note wording in docs --- .../getting-started/installation/backend-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index 33bbb34f4443..80510781daff 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -33,7 +33,7 @@ | POSTGRES_SERVER | postgres | Postgres database server address | | POSTGRES_PORT | 5432 | Postgres database port | | POSTGRES_DB | mealie | Postgres database name | -| POSTGRES_URL_OVERRIDE | None | Postgres URL override. Must be used with DB_ENGINE: postgres | +| POSTGRES_URL_OVERRIDE | None | Optional Postgres URL override to use instead of POSTGRES_* variables. Must be used in conjunction with DB_ENGINE: postgres to have an effect. | ### Email From cb7302d2d9bc282ad3d660f90c22a60be674cf5d Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Tue, 2 Apr 2024 12:24:51 +0000 Subject: [PATCH 10/13] fix: added validation to POSTGRES_URL_OVERRIDE --- mealie/core/settings/db_providers.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mealie/core/settings/db_providers.py b/mealie/core/settings/db_providers.py index 99147554ff95..383ac50dc3bf 100644 --- a/mealie/core/settings/db_providers.py +++ b/mealie/core/settings/db_providers.py @@ -46,7 +46,11 @@ class PostgresProvider(AbstractDBProvider, BaseSettings): @property def db_url(self) -> str: if self.POSTGRES_URL_OVERRIDE: - return self.POSTGRES_URL_OVERRIDE + url = PostgresDsn(url=self.POSTGRES_URL_OVERRIDE) + if not url.scheme == ("postgresql"): + raise ValueError("POSTGRES_URL_OVERRIDE scheme must be postgresql") + + return str(url) return str( PostgresDsn.build( From b3885cc3f8d9a8fed6438675390803b4e4dcfba2 Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Tue, 2 Apr 2024 16:38:19 +0000 Subject: [PATCH 11/13] change: docs now use TZ variable over read only bind mount /etc/timezone --- .../docs/documentation/getting-started/installation/postgres.md | 2 +- docs/docs/documentation/getting-started/installation/sqlite.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/documentation/getting-started/installation/postgres.md b/docs/docs/documentation/getting-started/installation/postgres.md index ce5b8c3d6146..efb47f477cc3 100644 --- a/docs/docs/documentation/getting-started/installation/postgres.md +++ b/docs/docs/documentation/getting-started/installation/postgres.md @@ -18,12 +18,12 @@ services: memory: 1000M # (2) volumes: - mealie-data:/app/data/ - - /etc/timezone:/etc/timezone:ro environment: # Set Backend ENV Variables Here ALLOW_SIGNUP: true PUID: 1000 PGID: 1000 + TZ: America/Anchorage MAX_WORKERS: 1 WEB_CONCURRENCY: 1 BASE_URL: https://mealie.yourdomain.com diff --git a/docs/docs/documentation/getting-started/installation/sqlite.md b/docs/docs/documentation/getting-started/installation/sqlite.md index d972809ffe00..820df6750def 100644 --- a/docs/docs/documentation/getting-started/installation/sqlite.md +++ b/docs/docs/documentation/getting-started/installation/sqlite.md @@ -22,12 +22,12 @@ services: memory: 1000M # (2) volumes: - mealie-data:/app/data/ - - /etc/timezone:/etc/timezone:ro environment: # Set Backend ENV Variables Here ALLOW_SIGNUP: true PUID: 1000 PGID: 1000 + TZ: America/Anchorage MAX_WORKERS: 1 WEB_CONCURRENCY: 1 BASE_URL: https://mealie.yourdomain.com From d5e3a1dacbf0de20c6e4ddce8b3d786e1203801e Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Wed, 3 Apr 2024 14:00:25 +0000 Subject: [PATCH 12/13] change: updated POSTGRES_URL_OVERRIDE description --- .../getting-started/installation/backend-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index b114de0f2678..b7ebeb8e2b42 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -35,7 +35,7 @@ | POSTGRES_SERVER | postgres | Postgres database server address | | POSTGRES_PORT | 5432 | Postgres database port | | POSTGRES_DB | mealie | Postgres database name | -| POSTGRES_URL_OVERRIDE | None | Optional Postgres URL override to use instead of POSTGRES_* variables. Must be used in conjunction with DB_ENGINE: postgres to have an effect. | +| POSTGRES_URL_OVERRIDE | None | Optional Postgres URL override to use instead of POSTGRES_* variables. | ### Email From 9548a7eb70a8663c86c488d41b6b2e2388323afe Mon Sep 17 00:00:00 2001 From: Tarek Al-Qarqaz Date: Wed, 3 Apr 2024 14:01:30 +0000 Subject: [PATCH 13/13] fix: removed period in POSTGRES_URL_OVERRIDE for consistency --- .../getting-started/installation/backend-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/documentation/getting-started/installation/backend-config.md b/docs/docs/documentation/getting-started/installation/backend-config.md index b7ebeb8e2b42..e9e8ce26ceaf 100644 --- a/docs/docs/documentation/getting-started/installation/backend-config.md +++ b/docs/docs/documentation/getting-started/installation/backend-config.md @@ -35,7 +35,7 @@ | POSTGRES_SERVER | postgres | Postgres database server address | | POSTGRES_PORT | 5432 | Postgres database port | | POSTGRES_DB | mealie | Postgres database name | -| POSTGRES_URL_OVERRIDE | None | Optional Postgres URL override to use instead of POSTGRES_* variables. | +| POSTGRES_URL_OVERRIDE | None | Optional Postgres URL override to use instead of POSTGRES_* variables | ### Email