/ranzhi

Auto build docker image for ranzhi(然之).

Primary LanguageShellThe UnlicenseUnlicense

Docker Image for Ranzhi

Docker Build Status Docker Pulls Docker Automated build ImageLayers Size ImageLayers Layers

Auto build docker image for ranzhi(然之),include open source edition.

DockerHub:https://hub.docker.com/r/idoop/ranzhi/

Office Support:http://www.ranzhi.org/

Tags

Open soure edition

  • 5.0,latest

QuickStart

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.

Environment configuration

  • 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.

Upgrade Version

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.

See Detail

Building the image

Clone this git,modify Dockerfile or docker-entrypoint if you want. Then execute the following command:

docker build -t ranzhi .