install xwiki with docker on macos
https://xwiki.com/en/Blog/HowtoinstallXWikiusingDocker/#
$ docker network create -d bridge xwiki-nw$ cd xwiki_test
$ mkdir mysql-init
$ mkdir mysql
$ mkdir xwiki$ echo "grant all privileges on *.* to xwiki@'%' identified by 'xwiki';" > mysql-init/init.sql
$ docker run --net=xwiki-nw --name mysql-xwiki -v mysql:/var/lib/mysql -v mysql-init:/docker-entrypoint-initdb.d -e MYSQL_ROOT_PASSWORD=xwiki -e MYSQL_USER=xwiki -e MYSQL_PASSWORD=xwiki -e MYSQL_DATABASE=xwiki -d mysql:8.0 --character-set-server=utf8 --collation-server=utf8_bin --explicit-defaults-for-timestamp=1
d5cdd311015ca1de78e28472e5faee04017f5db791961949572da07bab6c5b0a$ docker run --net=xwiki-nw --name xwiki -p 8081:8080 -v xwiki:/usr/local/xwiki -e DB_USER=xwiki -e DB_PASSWORD=xwiki -e DB_DATABASE=xwiki -e DB_HOST=mysql-xwiki xwiki:lts-mysql-tomcat
支 持 本 站: 捐贈伺服器等運維費用,需要您的支持!
XWiki Standard Flavor 15.10.12
留言簿