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
- Host: GitHub
- URL: https://github.com/hasufell/docker-gentoo-xwiki
- Owner: hasufell
- Created: 2015-10-21T20:00:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-26T16:36:10.000Z (over 9 years ago)
- Last Synced: 2025-01-28T18:45:59.890Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```