XWiki
Ähnlich wie DokuWiki
Hat mich persönlich nicht überzeugt.
https://playground.xwiki.org/xwiki/bin/view/Main/WebHome
Installation
mkdir /srv/xwiki
cd /srv/xwiki
nano docker-compose.yml
version: '2'
networks:
bridge:
driver: bridge
services:
xwiki_web:
# Use an already built XWiki image from DockerHub.
#image: "xwiki:lts-mysql-tomcat"
image: "xwiki:14.3.0-mysql-tomcat"
container_name: xwiki-mysql-tomcat-web
depends_on:
- xwiki_db
ports:
- "8095:8080"
# The DB_USER/DB_PASSWORD/DB_HOST variables are used in the hibernate.cfg.xml file.
environment:
- DB_USER=xwiki
- DB_PASSWORD=345wikipassword
- DB_DATABASE=xwikidb
- DB_HOST=xwiki-mysql-db
# Provide a name instead of an auto-generated id for the xwiki permanent directory configured in the Dockerfile,
# to make it simpler to identify in 'docker volume ls'.
volumes:
- data-xwiki:/usr/local/xwiki
networks:
- bridge
# The container that runs MySQL
xwiki_db:
image: "mysql:5.7"
container_name: xwiki-mysql-db
# - We provide a xwiki.cnf file in order to configure the mysql db to support UTF8 and be case-insensitive
# We have to do it here since we use an existing image and that's how this image allows customizations.
# See https://hub.docker.com/_/mysql/ for more details.
# - Provide a name instead of an auto-generated id for the mysql data, to make it simpler to identify in
# 'docker volume ls'
volumes:
- ./xwiki.cnf:/etc/mysql/conf.d/xwiki.cnf
- ./data-mysql:/var/lib/mysql
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
# Configure the MySQL database and create a user with provided name/password.
# See https://hub.docker.com/_/mysql/ for more details.
environment:
- MYSQL_ROOT_PASSWORD=13mysqlpassword+
- MYSQL_USER=xwiki
- MYSQL_PASSWORD=345wikipassword
- MYSQL_DATABASE=xwikidb
networks:
- bridge
volumes:
data-mysql: {}
data-xwiki: {}



