- Ubuntu
- Oracle JDK
- eXo Platform Community edition
- LibreOffice
docker run -d -p 8080:8080 --name=exo exoplatform/exo-community:latest
- watch container logs
docker logs --follow exo
(starting from 4.3 container version)
There is 2 ways to install add-ons in the container during the startup time:
- provide a commas separated list of add-ons you want to install in a
EXO_ADDONS_LIST
environment variable to the container:
docker run -d -p 8080:8080 --name=exo -e EXO_ADDONS_LIST="exo-tasks:1.0.0,exo-answers" exoplatform/exo-community:latest
- provide the list of add-ons you want to install in a file
/etc/exo/addons-list.conf
in the container:
docker run -d -p 8080:8080 --name=exo -v ~/addons-list.conf:/etc/exo/addons-list.conf:ro exoplatform/exo-community:latest
The format of the file is :
- 1 add-on declaration per line
- 1 add-on declaration is :
ADDON_ID
orADDON_ID:VERSION
- every line starting with a
#
character is treated as a comment and is ignored - every blank line is ignored
# Sample add-ons-list.conf file
exo-tasks:1.0.0
#exo-chat-community:1.2.0
exo-answers
In a running container execute the following command:
docker exec -ti exo /sbin/setuser exo /opt/exo/current/addon list --installed
As explained in eXo Platform documentation you can customize several aspects of eXo platform by settings environment variables.
You can just pass environment variables:
docker run -d -p 8080:8080 --name=exo -e EXO_JVM_SIZE_MAX="2g" exoplatform/exo-community:latest
You your own setenv-customize.sh
file:
docker run -d -p 8080:8080 --name=exo -v ~/setenv-customize.sh:/opt/exo/current/bin/setenv-customize.sh:ro exoplatform/exo-community:latest