Commit 99f539e9 authored by Ndoumbe's avatar Ndoumbe

Update entrypoint.sh

parent 8825c3a8
......@@ -8,10 +8,10 @@ fi
# set the postgres database host, port, user and password according to the environment
# and pass them as arguments to the odoo process if not present in the config file for test
: ${HOST:=${DB_PORT_5432_TCP_ADDR:='127.0.0.1'}}
: ${PORT:=${DB_PORT_5432_TCP_PORT:=8085}}
: ${USER:=${DB_ENV_POSTGRES_USER:=${POSTGRES_USER:='myuser'}}}
: ${PASSWORD:=${DB_ENV_POSTGRES_PASSWORD:=${POSTGRES_PASSWORD:='mydb123'}}}
: ${HOST:=${DB_PORT_5432_TCP_ADDR:='db'}}
: ${PORT:=${DB_PORT_5432_TCP_PORT:=5432}}
: ${USER:=${DB_ENV_POSTGRES_USER:=${POSTGRES_USER:='odoo'}}}
: ${PASSWORD:=${DB_ENV_POSTGRES_PASSWORD:=${POSTGRES_PASSWORD:='odoo'}}}
DB_ARGS=()
function check_config() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment