Auto build docker image for ranzhi(然之),include open source edition.
DockerHub:https://hub.docker.com/r/idoop/ranzhi/
Office Support:http://www.ranzhi.org/
Open soure edition
5.0
,latest
open soure edition:
mkdir -p /data/zbox && docker run -d -p 80:80 -p 3306:3306 \
-e USER="root" -e PASSWD="password" \
-e BIND_ADDRESS="false" \
-e SMTP_HOST="163.177.90.125 smtp.exmail.qq.com" \
-v /data/zbox/:/opt/zbox/ \
--name ranzhi-server \
idoop/ranzhi:latest
Note: Make sure your Host feed available on either port 80
or 3306
.
USER
: set the web login database Adminer account.PASSWD
: set the web login database Adminer password.BIND_ADDRESS
: if set value with false,the Mysql server will not bind-address.SMTP_HOST
: set the smtp server IP and host.(If can't send mail,it will be helpful.)
Note: The ranzhi administrator account is admin,and init password is 123456. And MySQL root account password is 123456,please change password when you first login.
If you want upgrade the ranzhi version, just use the newest code to cover the ranzhi source code under the path
$volume/zbox/app/ranzhi/
,instead of useing latest docker image.
Clone this git,modify Dockerfile
or docker-entrypoint
if you want.
Then execute the following command:
docker build -t ranzhi .