From a252a5e283c4c4ce786f3b96796dccc75a782f84 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Wed, 9 Apr 2025 17:05:18 +0500 Subject: [PATCH] n8n container deployment improvement --- plogical/DockerSites.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plogical/DockerSites.py b/plogical/DockerSites.py index f1ffc3f68..3dd7fa935 100644 --- a/plogical/DockerSites.py +++ b/plogical/DockerSites.py @@ -942,14 +942,14 @@ services: user: root restart: always healthcheck: - test: ["CMD-SHELL", "pg_isready -U postgres"] + test: ["CMD-SHELL", "pg_isready -U {self.data['MySQLDBNUser']}"] interval: 10s timeout: 5s retries: 5 environment: - - POSTGRES_USER={self.data['MySQLDBNUser']} - - POSTGRES_DB={self.data['MySQLDBName']} - - POSTGRES_PASSWORD={self.data['MySQLPassword']} + - POSTGRESQL_USERNAME={self.data['MySQLDBNUser']} + - POSTGRESQL_DATABASE={self.data['MySQLDBName']} + - POSTGRESQL_PASSWORD={self.data['MySQLPassword']} volumes: - "{self.data['ServiceName']}_db:/bitnami/postgresql" networks: