forked from extern/egroupware
fix not working new installation under CentOS/RHEL caused by grant host "%"
This commit is contained in:
parent
399e737da7
commit
6a6f00284b
@ -42,6 +42,8 @@ services:
|
||||
environment:
|
||||
# MariaDB/MySQL host to use: for internal service use "db", for host database (socket bind-mounted into container) use "localhost"
|
||||
- EGW_DB_HOST=db
|
||||
# grant host is needed for NOT using localhost / unix domain socket for MySQL/MariaDB
|
||||
- EGW_DB_GRANT_HOST="172.17.%"
|
||||
# for internal db service you should to specify a root password here AND in db service
|
||||
# a database "egroupware" with a random password is created for you on installation (password is stored in header.inc.php in data directory)
|
||||
#- EGW_DB_ROOT=root
|
||||
|
@ -30,7 +30,7 @@ until [ -n "$EGW_SKIP_INSTALL" -a ! -f /var/lib/egroupware/header.inc.php ] || \
|
||||
--start_db "" --autostart_db "" \
|
||||
--db_type "${EGW_DB_TYPE:-mysqli}" \
|
||||
--db_host "${EGW_DB_HOST:-localhost}" \
|
||||
--db_grant_host "${EGW_DB_GRANT_HOST:-%}" \
|
||||
--db_grant_host "${EGW_DB_GRANT_HOST:-localhost}" \
|
||||
--db_root "${EGW_DB_ROOT:-root}" \
|
||||
--db_root_pw "${EGW_DB_ROOT_PW:-}" \
|
||||
--db_name "${EGW_DB_NAME:-egroupware}" \
|
||||
|
Loading…
Reference in New Issue
Block a user