From 7196fdd74cb267660cfb93b174c6dc57d8a97c11 Mon Sep 17 00:00:00 2001 From: awieczarek Date: Sun, 20 Oct 2024 14:00:04 +0200 Subject: [PATCH] New postgres solution --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 15a8c5e..ee8b760 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,10 @@ RUN eval $(echo $DATABASE_URL | sed -e 's/^postgres:\/\///' -e 's/@/ /' -e 's/:/ RUN bash -c ' \ echo "[database]" > app.ini; \ echo "DB_TYPE = postgres" >> app.ini; \ - echo "HOST = $host:$port" >> app.ini; \ - echo "NAME = $dbname" >> app.ini; \ - echo "USER = $username" >> app.ini; \ - echo "PASSWD = $password" >> app.ini; \ + echo "HOST = $DATABASE_HOST" >> app.ini; \ + echo "NAME = $DATABASE_DB" >> app.ini; \ + echo "USER = $DATABASE_USER" >> app.ini; \ + echo "PASSWD = $DATABASE_PASSWORD" >> app.ini; \ echo "SSL_MODE = require" >> app.ini \ '