From bc305bd09e20eee8b27b5858765feed0885cd6f9 Mon Sep 17 00:00:00 2001 From: Dr Masroor Ehsan Date: Tue, 4 Feb 2025 11:07:02 +0600 Subject: [PATCH] use config file --- config/orthanc/postgresql.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/orthanc/postgresql.json b/config/orthanc/postgresql.json index d7cf8ba..a57a2ea 100644 --- a/config/orthanc/postgresql.json +++ b/config/orthanc/postgresql.json @@ -4,8 +4,8 @@ "EnableStorage": false, "Host": "postgres", "Port": 5432, - "Database": "orthanc", - "Username": "postgres", - "Password": "password" + "Database": "${POSTGRES_DB:-orthanc}", + "Username": "${POSTGRES_USER:-postgres}", + "Password": "${POSTGRES_PASSWORD}" } }