added more docu to the docker-compose installation

This commit is contained in:
ralf 2023-04-05 10:05:23 +02:00
parent 390e90fa89
commit 819b277c24
2 changed files with 9 additions and 4 deletions

View File

@ -9,6 +9,7 @@ curl https://raw.githubusercontent.com/EGroupware/egroupware/master/doc/docker/d
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 mkdir data # this is where egroupware data is stored, it's by default a subdir of the directory of docker-compose.yml
mkdir -p data/default/loolwsd # this is where collabora config is stored
docker-compose up -d docker-compose up -d
``` ```
## More information ## More information
@ -27,6 +28,8 @@ The provided docker-compose.yml will run the following container:
version: '3' version: '3'
volumes: volumes:
sources: sources:
# you can use either an anonymous volume, or explicitly specify an existing (!) path
# device: $PWD/sources
db: db:
data: data:
driver_opts: driver_opts:
@ -45,8 +48,7 @@ volumes:
# # location of deprecated EGroupware packages like Wiki, SiteMgr, KnowledgeBase # # location of deprecated EGroupware packages like Wiki, SiteMgr, KnowledgeBase
# device: /usr/share/egroupware # device: /usr/share/egroupware
# #device: $PWD/extra # #device: $PWD/extra
# collabora-config # sources for push server, swoolepush subdirectory of egroupware sources, in volume "sources"
# sources for push server, swoolpush subdirectory of egroupware
sources-push: sources-push:
driver_opts: driver_opts:
type: none type: none
@ -55,6 +57,7 @@ volumes:
# volume to store config.inc.php file / token shared between egroupware and push container # volume to store config.inc.php file / token shared between egroupware and push container
push-config: push-config:
sessions: sessions:
# collabora-config directory, initially filled by collabora-init container
collabora-config: collabora-config:
driver_opts: driver_opts:
type: none type: none

View File

@ -1,6 +1,8 @@
version: '3' version: '3'
volumes: volumes:
sources: sources:
# you can use either an anonymous volume, or explicitly specify an existing (!) path
# device: $PWD/sources
db: db:
data: data:
driver_opts: driver_opts:
@ -19,8 +21,7 @@ volumes:
# # location of deprecated EGroupware packages like Wiki, SiteMgr, KnowledgeBase # # location of deprecated EGroupware packages like Wiki, SiteMgr, KnowledgeBase
# device: /usr/share/egroupware # device: /usr/share/egroupware
# #device: $PWD/extra # #device: $PWD/extra
# collabora-config # sources for push server, swoolepush subdirectory of egroupware sources, in volume "sources"
# sources for push server, swoolpush subdirectory of egroupware
sources-push: sources-push:
driver_opts: driver_opts:
type: none type: none
@ -29,6 +30,7 @@ volumes:
# volume to store config.inc.php file / token shared between egroupware and push container # volume to store config.inc.php file / token shared between egroupware and push container
push-config: push-config:
sessions: sessions:
# collabora-config directory, initially filled by collabora-init container
collabora-config: collabora-config:
driver_opts: driver_opts:
type: none type: none