add Collabora init container and note that this is not the recommended was to install EGroupware on a Linux server

This commit is contained in:
ralf 2022-07-19 15:45:09 +02:00
parent bec95a4a9d
commit e887a14238
2 changed files with 24 additions and 2 deletions

View File

@ -1,5 +1,8 @@
# Running EGroupware in Docker
> This is NOT the recommended way of installing EGroupware on a Linux server!
> Please consult the [installation instructions in our wiki](https://github.com/EGroupware/egroupware/wiki/Installation-using-egroupware-docker-RPM-DEB-package).
## Quick instructions
```
curl https://raw.githubusercontent.com/EGroupware/egroupware/master/doc/docker/docker-compose.yml > docker-compose.yml
@ -16,6 +19,7 @@ The provided docker-compose.yml will run the following container:
* **egroupware-db** latest MariaDB 10.4
* **egroupware-watchtower** updating all above container automatically daily at 4am
* **collabora-key** Collabora Online Office
* **collabora-init** Collabora init container to generate the configuration once
* **rocketchat** Rocket.Chat server
* **rocketchat-mongodb** MongoDB for Rocket.Chat
* **portainer** Portainer Docker GUI
@ -209,6 +213,15 @@ services:
# can access EGroupware without the need to go over your firewall
#extra_hosts:
#- "my.host.name:ip-address"
depends_on:
- collabora-init
# initialise the collabora-config volume
collabora-init:
image: "quay.io/egroupware/collabora-key:latest"
command: bash -c "test -f /tmp/coolwsd/coolwsd.xml || (cp -p /etc/coolwsd/* /tmp/coolwsd && cd /tmp/coolwsd && ln -s coolwsd.conf loolwsd.conf)"
volumes:
- collabora-config:/tmp/coolwsd
# Rocket.Chat server
rocketchat:
@ -267,4 +280,4 @@ services:
# - /var/run/docker.sock:/var/run/docker.sock
# - portainer_data:/data
# container_name: portainer
```
```

View File

@ -187,6 +187,15 @@ services:
# can access EGroupware without the need to go over your firewall
#extra_hosts:
#- "my.host.name:ip-address"
depends_on:
- collabora-init
# initialise the collabora-config volume
collabora-init:
image: "quay.io/egroupware/collabora-key:latest"
command: bash -c "test -f /tmp/coolwsd/coolwsd.xml || (cp -p /etc/coolwsd/* /tmp/coolwsd && cd /tmp/coolwsd && ln -s coolwsd.conf loolwsd.conf)"
volumes:
- collabora-config:/tmp/coolwsd
# Rocket.Chat server
rocketchat:
@ -244,4 +253,4 @@ services:
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock
# - portainer_data:/data
# container_name: portainer
# container_name: portainer