An open API service indexing awesome lists of open source software.

https://github.com/hasufell/docker-gentoo-xwiki

Xwiki on gentoo via docker
https://github.com/hasufell/docker-gentoo-xwiki

Last synced: about 2 months ago
JSON representation

Xwiki on gentoo via docker

Awesome Lists containing this project

README

        

First set up the mysql database:
```sh
docker run -ti -d \
--name=xwiki-mysql \
-v :/var/lib/mysql \
-e MYSQL_PASS= \
hasufell/gentoo-mysql
docker exec -ti \
xwiki-mysql \
/bin/bash -c "mysql -u root -e \"create database xwiki default character set utf8 collate utf8_bin\" && mysql -u root -e \"grant all privileges on *.* to 'xwiki'@'%' identified by ''\""
```

Then set up tomcat:
```sh
docker run -ti \
-v :/var/lib/tomcat-8 \
-v :/etc/tomcat-8 \
hasufell/gentoo-xwiki \
/usr/share/tomcat-8/gentoo/tomcat-instance-manager.bash --create
```

Then start the shit:
```sh
docker run -ti -d \
--link xwiki-mysql:xwiki-mysql \
-v :/var/lib/tomcat-8 \
-v :/etc/tomcat-8 \
-v :/var/lib/xwiki \
-e XWIKI_MYSQL_PW= \
-p 8080:8080 \
hasufell/gentoo-xwiki
```