[IMP]Odoo Image configuration generation with optional host and port
This commit is contained in:
parent
c70cfa3823
commit
9c82fca298
@ -26,8 +26,8 @@ echo "
|
|||||||
; Configuration file auto-generated
|
; Configuration file auto-generated
|
||||||
addons_path = $ADDONS_PATH
|
addons_path = $ADDONS_PATH
|
||||||
data_dir = /opt/odoo/data
|
data_dir = /opt/odoo/data
|
||||||
db_host = postgres
|
db_host = ${DB_HOST:=postgres}
|
||||||
db_port = 5432
|
db_port = ${DB_PORT:=5432}
|
||||||
db_user = $POSTGRES_USER
|
db_user = $POSTGRES_USER
|
||||||
db_password = $POSTGRES_PASSWORD
|
db_password = $POSTGRES_PASSWORD
|
||||||
db_maxconn = ${DB_MAXCONN:=10}
|
db_maxconn = ${DB_MAXCONN:=10}
|
||||||
|
Loading…
Reference in New Issue
Block a user