Skip to content
Snippets Groups Projects
user avatar
Vincent Massol authored
[Misc] Big overhaul to separate image-time setup from runtime configuration + added some license headers
d5df0d4c
History

Provides a full XWiki environment made up of the following:

  • A container running the latest MySQL 5.x database and configured to use UTF8 and be case-insensitive
  • A container running the latest Tomcat 8 + Java 8 + XWiki 8.4.4

All source files are under the LGPL 2.1 license.

Usage

Details

Volumes:

  • Two volumes are created:
    • A volume named <prefix>_mysql-data that contains the database data.
    • A volume named <prefix>_xwiki-data that contains XWiki's permanent directory.
  • To find out where those volumes are located on your local host machine you can inspect them with docker volume inspect <volume name>. To find the volume name, you can list all volumes with docker volume ls.
  • Note that on Mac OSX, Docker runs inside the xhyve VM and thus the paths you get when inspecting the volumes are relative to this. Thus, you need to get into that VM if you need to access the volume data.

MySQL:

  • To issue some mysql commands:
  • Find the container id with docker ps
  • Execute bash in the mysql container: docker exec -it <containerid> bash -l
  • Once inside the mysql container execute the mysql command: mysql --user=xwiki --password=xwiki

Future

  • Setup xinit
  • Configure libreoffice
  • Solr as external service

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.