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 \ '