The Advanced Open Source Enterprise Wiki.
945
XWiki is a Wiki featuring collaborative edition, document versioning or user access rights management. However, XWiki is more than the usual wiki. It is an Open-Source Second Generation Wiki. What does this mean? In short, XWiki provides you with the ability to create applications directly in your wiki (You can give a look to existing apps in the Code Zone or check what users are using XWiki for).
This image requires a running PostgreSQL server.
$ docker run -d -e POSTGRES_USER=xwiki -e POSTGRES_PASSWORD=xwiki --name xwiki-db postgres:9.4
$ docker run -p 8080:8080 --name xwiki --link xwiki-db:db -v xwiki-data:/var/lib/xwiki xwiki -t xwiki
The alias of the container running Postgres must be db for XWiki to be able to connect to the Postgres server.
$ docker stop xwiki
$ docker start -a xwiki
When a PostgreSQL server is restarted, the Xwiki instances linked to that server must be restarted as well because the server address has changed and the link is thus broken.
Restarting a PostgreSQL server does not affect the created databases.
The XWiki image uses several environment variables which are easy to miss. While none of the variables are required, they may significantly aid you in using the image.
POSTGRES_USERThis optional environment variable is used in conjunction with POSTGRES_PASSWORD to set a user and its password. The default value is xwiki.
POSTGRES_PASSWORDThis environment variable sets the user password for PostgreSQL. The default value is xwiki.
POSTGRES_DBThis optional environment variable can be used to define a different name for the default database. The default value is xwiki.
Content type
Image
Digest
Size
413.3 MB
Last updated
almost 10 years ago
docker pull pierrickrouxel/xwiki