Configuration Files

Last modified by Eleni Cojocariu on 2026/05/13 18:21

Reference

Warning

WIP

The following table lists the main XWiki configuration files available in the Docker image. To customize them, mount Docker volumes from the host machine to the corresponding paths inside the container.

Configuration ItemPath inside the Docker ImageDescription
Permanent directory/usr/local/xwikiPersistent data.
xwiki.cfg $WEB-INF/xwiki.cfgMain XWiki configuration file.
xwiki.properties $WEB-INF/xwiki.propertiesAdvanced XWiki properties.
hibernate.cfg.xml $WEB-INF/hibernate.cfg.xmlHibernate database configuration.
Clustering (JGroups)$WEB-INF/observation/remote/jgroupsCluster communication configuration.
logback.xml$WEB-INF/classes/logback.xmlLogging configuration.
web.xml$WEB-INF/web.xmlWeb application deployment descriptor. $WEB-INF is the location of the XWiki WAR's WEB-INF directory, at /usr/local/tomcat/webapps/$CONTEXT_PATH/WEB-INF/$CONTEXT_PATH is the Servlet context deployment name for the XWiki webapp, by default it's ROOT.

FAQ

Are configuration files still copied automatically to the permanent directory?

No. Configuration files are no longer copied automatically from the Docker image to the permanent directory on first startup. For backward compatibility, if these files are already present in the permanent directory, they are still copied to their expected locations inside the container during startup.

Why is persistent storage needed for XWiki Docker installation?

Persistent storage is required to ensure that XWiki data is not lost when the container is stopped, restarted, or upgraded. To enable persistent storage, XWiki must be configured to store its data outside the container filesystem.

More

To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.

Get Connected