New postgres solution
This commit is contained in:
parent
3a08b0e088
commit
7196fdd74c
@ -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 \
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user