Skip to content
Snippets Groups Projects
Commit e8299919 authored by Simó Albert i Beltran's avatar Simó Albert i Beltran
Browse files

Allow white spaces in database user and password

Without this change the database user and password are cropped at the first
white space

Closes #13
parent 7167284b
No related branches found
No related tags found
1 merge request!29Allow whitespaces in database user and password
Pipeline #85736 passed
......@@ -10,7 +10,7 @@
: ${DB_PASSWORD:=${POSTGRES_ENV_POSTGRES_PASSWORD}}
: ${DB_HOSTNAME:=${POSTGRES_PORT_5432_TCP_ADDR:='postgres'}}
: ${DB_PORT:=${POSTGRES_PORT_5432_TCP_PORT:='5432'}}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote ${DB_USER}):$(quote ${DB_PASSWORD})@${DB_HOSTNAME}:${DB_PORT}/"}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote "${DB_USER}"):$(quote "${DB_PASSWORD}")@${DB_HOSTNAME}:${DB_PORT}/"}
: ${PYTHONOPTIMIZE:=1}
: ${LANG:=C.UTF-8}
......
......@@ -10,7 +10,7 @@
: ${DB_PASSWORD:=${POSTGRES_ENV_POSTGRES_PASSWORD}}
: ${DB_HOSTNAME:=${POSTGRES_PORT_5432_TCP_ADDR:='postgres'}}
: ${DB_PORT:=${POSTGRES_PORT_5432_TCP_PORT:='5432'}}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote ${DB_USER}):$(quote ${DB_PASSWORD})@${DB_HOSTNAME}:${DB_PORT}/"}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote "${DB_USER}"):$(quote "${DB_PASSWORD}")@${DB_HOSTNAME}:${DB_PORT}/"}
: ${PYTHONOPTIMIZE:=1}
: ${LANG:=C.UTF-8}
......
......@@ -10,7 +10,7 @@
: ${DB_PASSWORD:=${POSTGRES_ENV_POSTGRES_PASSWORD}}
: ${DB_HOSTNAME:=${POSTGRES_PORT_5432_TCP_ADDR:='postgres'}}
: ${DB_PORT:=${POSTGRES_PORT_5432_TCP_PORT:='5432'}}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote ${DB_USER}):$(quote ${DB_PASSWORD})@${DB_HOSTNAME}:${DB_PORT}/"}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote "${DB_USER}"):$(quote "${DB_PASSWORD}")@${DB_HOSTNAME}:${DB_PORT}/"}
: ${PYTHONOPTIMIZE:=1}
: ${LANG:=C.UTF-8}
......
......@@ -10,7 +10,7 @@
: ${DB_PASSWORD:=${POSTGRES_ENV_POSTGRES_PASSWORD}}
: ${DB_HOSTNAME:=${POSTGRES_PORT_5432_TCP_ADDR:='postgres'}}
: ${DB_PORT:=${POSTGRES_PORT_5432_TCP_PORT:='5432'}}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote ${DB_USER}):$(quote ${DB_PASSWORD})@${DB_HOSTNAME}:${DB_PORT}/"}
: ${TRYTOND_DATABASE_URI:="postgresql://$(quote "${DB_USER}"):$(quote "${DB_PASSWORD}")@${DB_HOSTNAME}:${DB_PORT}/"}
: ${PYTHONOPTIMIZE:=1}
: ${LANG:=C.UTF-8}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment