mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
some fixes and notes for the development system
This commit is contained in:
parent
6bac65210f
commit
ad84dfae97
@ -64,5 +64,13 @@ service:
|
||||
* db volume must NOT be a directory, as the networked access from Docker VM to Windows is to slow!
|
||||
|
||||
### Docker on Linux
|
||||
* permissions of sources and data directory must be readable (sources writable) by www-data user (#33)
|
||||
* to run docker(-compose) commands with your regular user either
|
||||
- prefix them with ```sudo``` or
|
||||
- add yourself to the ```docker``` group: ```sudo usermod -aG docker $USER``` and then run ```newgrp docker``` everytime you open a terminal
|
||||
* permissions of sources directory need to be changed after install: ```chown -R $USER sources```
|
||||
* permissions of data directory must be readable and writable by www-data user (#33)
|
||||
* do not use ```http://localhost/egroupware/```, as push, Collabora and Rocket.Chat will not be able to communicate
|
||||
- localhost in each container is NOT the host system, but the container itself!
|
||||
- give you development system a name and add it to the hosts ```/etc/hosts``` as: ```127.0.0.1 devbox.egroupware.org```
|
||||
- add it as ```extra_host: - "devbox.egroupware.org:172.17.0.1"``` to each service which as a commented out extra_host
|
||||
|
||||
|
@ -141,6 +141,7 @@ services:
|
||||
- "4443:443"
|
||||
depends_on:
|
||||
- egroupware
|
||||
- push
|
||||
- collabora-key
|
||||
- rocketchat
|
||||
container_name: egroupware-nginx
|
||||
@ -166,6 +167,8 @@ services:
|
||||
- sessions:/var/lib/php/sessions
|
||||
- push-config:/var/lib/egroupware-push
|
||||
container_name: egroupware-push
|
||||
depends_on:
|
||||
- egroupware
|
||||
|
||||
# automatic updates of all containers daily at 4am
|
||||
# see https://containrrr.github.io/watchtower for more information
|
||||
|
Loading…
Reference in New Issue
Block a user