egroupware_official/doc/docker
2023-09-28 08:52:47 +02:00
..
development converted egw_action from javascript to typescript 2023-09-13 10:40:32 +02:00
fpm npm run build / rollupjs fails, if /usr/share/egroupware-extra is NOT owned by root 2023-08-17 08:47:44 +02:00
docker-compose.yml fix docker-compose.yml and README.md for a regular (non-developer) docker-compose install 2023-09-28 08:52:47 +02:00
nginx.conf fix Collabora init container and Nginx config for newer Collabora version 2023-04-12 10:53:49 +02:00
README.md fix docker-compose.yml and README.md for a regular (non-developer) docker-compose install 2023-09-28 08:52:47 +02:00

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.

Quick instructions

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
# edit docker-compose.yml or nginx.conf, by default it will run on http://localhost:8080/
# create a few directories upfront, otherwise the containers won't start up:
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
mkdir -p data/default/rocketchat/dump # rocket.chat dumps
mkdir -p data/default/rocketchat/uploads # rocket.chat uploads
mkdir sources # egroupware sources will show up in this folder
docker-compose up -d
# grand access rights to source sub folders
#remove sources/egroupware/swolepush --> egw install complains that /egroupware has to be empty

More information

The provided docker-compose.yml will run the following container:

  • egroupware running latest PHP 8.1 as FPM (see fpm subdirectory for more information)
  • egroupware-push running PHP 8.1 Swoole Alpine image for websocket connections
  • egroupware-nginx running Nginx as webserver (by default http only on port 8080)
  • egroupware-db latest MariaDB 10.6
  • 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

docker-compose.yml

2b66ca8ba6/doc/docker/docker-compose.yml (L1-L999)