Wiki source code of Docker Compose for XWiki
Last modified by Vincent Massol on 2026/07/27 15:27
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | [[Docker Compose>>https://docs.docker.com/compose/]] is a tool that allows you to define and run multi-container applications using a single configuration file. Instead of manually starting containers one by one, you describe everything in a file (##docker-compose.yml##), and Docker handles the rest. | ||
| 2 | |||
| 3 | XWiki provides some [[files>>doc:documentation.xs.admin.installation.methods.install-xwiki-docker.docker-compose.required-files.WebHome]]. When you run: {{code language="none"}} docker compose up -d {{/code}}, Docker Compose will: | ||
| 4 | |||
| 5 | 1. Create a network for the containers. | ||
| 6 | 1. Start the database container (MySQL, MariaDB, PostgreSQL). | ||
| 7 | 1. Start the XWiki container (Tomcat). | ||
| 8 | 1. Connect the containers together. | ||
| 9 | |||
| 10 | With Docker Compose, you can run XWiki with the following configurations out of the box, as they are prebuilt in Docker Compose setups: | ||
| 11 | |||
| 12 | * [[Run XWiki (MySQL on Tomcat) using Docker Compose>>doc:documentation.xs.admin.installation.methods.install-xwiki-docker.docker-compose.run-xwiki-mysql-tomcat.WebHome]] | ||
| 13 | * [[Run XWiki (MariaDB on Tomcat) using Docker Compose>>doc:documentation.xs.admin.installation.methods.install-xwiki-docker.docker-compose.run-xwiki-mariadb-tomcat.WebHome]] | ||
| 14 | * [[Run XWiki (PostgreSQL on Tomcat) using Docker Compose>>doc:documentation.xs.admin.installation.methods.install-xwiki-docker.docker-compose.run-xwiki-postgresql-tomcat.WebHome]] |