mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-11 16:00:45 +01:00
fix failing installation via docker-compose: wrong grant-host and NO quotes
also documented that you need to create the data directory
This commit is contained in:
parent
745a1ea15e
commit
47a7a22ac5
@ -5,6 +5,7 @@
|
|||||||
curl https://raw.githubusercontent.com/EGroupware/egroupware/master/doc/docker/docker-compose.yml > docker-compose.yml
|
curl https://raw.githubusercontent.com/EGroupware/egroupware/master/doc/docker/docker-compose.yml > docker-compose.yml
|
||||||
curl https://raw.githubusercontent.com/EGroupware/egroupware/master/doc/docker/nginx.conf > nginx.conf
|
curl https://raw.githubusercontent.com/EGroupware/egroupware/master/doc/docker/nginx.conf > nginx.conf
|
||||||
# edit docker-compose.yml or nginx.conf, by default it will run on http://localhost:8080/
|
# edit docker-compose.yml or nginx.conf, by default it will run on http://localhost:8080/
|
||||||
|
mkdir data # this is where egroupware data is stored, it's by default a subdir of the directory of docker-compose.yml
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
```
|
```
|
||||||
## More information
|
## More information
|
||||||
|
@ -43,7 +43,7 @@ services:
|
|||||||
# MariaDB/MySQL host to use: for internal service use "db", for host database (socket bind-mounted into container) use "localhost"
|
# MariaDB/MySQL host to use: for internal service use "db", for host database (socket bind-mounted into container) use "localhost"
|
||||||
- EGW_DB_HOST=db
|
- EGW_DB_HOST=db
|
||||||
# grant host is needed for NOT using localhost / unix domain socket for MySQL/MariaDB
|
# grant host is needed for NOT using localhost / unix domain socket for MySQL/MariaDB
|
||||||
- EGW_DB_GRANT_HOST="172.17.%"
|
- EGW_DB_GRANT_HOST=172.%
|
||||||
# for internal db service you should to specify a root password here AND in db service
|
# 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)
|
# 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
|
#- EGW_DB_ROOT=root
|
||||||
|
Loading…
Reference in New Issue
Block a user