File tree Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Expand file tree Collapse file tree 3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 10
10
# and pass them as arguments to the odoo process if not present in the config file
11
11
: ${HOST:= ${DB_PORT_5432_TCP_ADDR:= ' db' } }
12
12
: ${PORT:= ${DB_PORT_5432_TCP_PORT:= 5432} }
13
- : ${NAME:= ${DB_ENV_POSTGRES_NAME:= ${POSTGRES_NAME:= ' postgres' } } }
14
13
: ${USER:= ${DB_ENV_POSTGRES_USER:= ${POSTGRES_USER:= ' odoo' } } }
15
14
: ${PASSWORD:= ${DB_ENV_POSTGRES_PASSWORD:= ${POSTGRES_PASSWORD:= ' odoo' } } }
16
15
17
16
ODOO_ARGS=()
18
- DB_ARGS=()
17
+ DB_ARGS=(" -d " " postgres " )
19
18
20
19
function check_config() {
21
20
param=" $1 "
@@ -36,7 +35,6 @@ function check_config() {
36
35
fi
37
36
}
38
37
39
- check_config " db_name" " $NAME " " -d"
40
38
check_config " db_host" " $HOST " " -h"
41
39
check_config " db_port" " $PORT " " -p"
42
40
check_config " db_user" " $USER " " -U"
Original file line number Diff line number Diff line change 10
10
# and pass them as arguments to the odoo process if not present in the config file
11
11
: ${HOST:= ${DB_PORT_5432_TCP_ADDR:= ' db' } }
12
12
: ${PORT:= ${DB_PORT_5432_TCP_PORT:= 5432} }
13
- : ${NAME:= ${DB_ENV_POSTGRES_NAME:= ${POSTGRES_NAME:= ' postgres' } } }
14
13
: ${USER:= ${DB_ENV_POSTGRES_USER:= ${POSTGRES_USER:= ' odoo' } } }
15
14
: ${PASSWORD:= ${DB_ENV_POSTGRES_PASSWORD:= ${POSTGRES_PASSWORD:= ' odoo' } } }
16
15
17
16
ODOO_ARGS=()
18
- DB_ARGS=()
17
+ DB_ARGS=(" -d " " postgres " )
19
18
20
19
function check_config() {
21
20
param=" $1 "
@@ -36,7 +35,6 @@ function check_config() {
36
35
fi
37
36
}
38
37
39
- check_config " db_name" " $NAME " " -d"
40
38
check_config " db_host" " $HOST " " -h"
41
39
check_config " db_port" " $PORT " " -p"
42
40
check_config " db_user" " $USER " " -U"
Original file line number Diff line number Diff line change 10
10
# and pass them as arguments to the odoo process if not present in the config file
11
11
: ${HOST:= ${DB_PORT_5432_TCP_ADDR:= ' db' } }
12
12
: ${PORT:= ${DB_PORT_5432_TCP_PORT:= 5432} }
13
- : ${NAME:= ${DB_ENV_POSTGRES_NAME:= ${POSTGRES_NAME:= ' postgres' } } }
14
13
: ${USER:= ${DB_ENV_POSTGRES_USER:= ${POSTGRES_USER:= ' odoo' } } }
15
14
: ${PASSWORD:= ${DB_ENV_POSTGRES_PASSWORD:= ${POSTGRES_PASSWORD:= ' odoo' } } }
16
15
17
16
ODOO_ARGS=()
18
- DB_ARGS=()
17
+ DB_ARGS=(" -d " " postgres " )
19
18
20
19
function check_config() {
21
20
param=" $1 "
@@ -36,7 +35,6 @@ function check_config() {
36
35
fi
37
36
}
38
37
39
- check_config " db_name" " $NAME " " -d"
40
38
check_config " db_host" " $HOST " " -h"
41
39
check_config " db_port" " $PORT " " -p"
42
40
check_config " db_user" " $USER " " -U"
You can’t perform that action at this time.
0 commit comments