Commit bb98f869 authored by Ndoumbe's avatar Ndoumbe

Update entrypoint.sh

parent 94b88c68
...@@ -8,7 +8,7 @@ fi ...@@ -8,7 +8,7 @@ fi
# set the postgres database host, port, user and password according to the environment # 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 # and pass them as arguments to the odoo process if not present in the config file for test
: ${HOST:=${DB_PORT_5432_TCP_ADDR:='172.17.0.1'}} : ${HOST:=${DB_PORT_5432_TCP_ADDR:='db'}}
: ${PORT:=${DB_PORT_5432_TCP_PORT:=5432}} : ${PORT:=${DB_PORT_5432_TCP_PORT:=5432}}
: ${USER:=${DB_ENV_POSTGRES_USER:=${POSTGRES_USER:='odoo'}}} : ${USER:=${DB_ENV_POSTGRES_USER:=${POSTGRES_USER:='odoo'}}}
: ${PASSWORD:=${DB_ENV_POSTGRES_PASSWORD:=${POSTGRES_PASSWORD:='odoo'}}} : ${PASSWORD:=${DB_ENV_POSTGRES_PASSWORD:=${POSTGRES_PASSWORD:='odoo'}}}
......
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