[IMP]Odoo Image configuration generation with optional host and port

This commit is contained in:
Fabien Bourgeois 2016-10-05 08:56:14 +02:00
parent c70cfa3823
commit 9c82fca298
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ echo "
; Configuration file auto-generated
addons_path = $ADDONS_PATH
data_dir = /opt/odoo/data
db_host = postgres
db_port = 5432
db_host = ${DB_HOST:=postgres}
db_port = ${DB_PORT:=5432}
db_user = $POSTGRES_USER
db_password = $POSTGRES_PASSWORD
db_maxconn = ${DB_MAXCONN:=10}