Sign inSign up

bitinit/pnd

By bitinit

Updated over 6 years ago

Personal Netdisk

Image
0

1.3K

bitinit/pnd repository overview

Pnd Docker

docker pulls

Docker hub

Docker image of https://github.com/BitInit/pnd

Usage

You can deploy pnd project by using docker:

# pull image
docker pull bitinit/pnd

# docker run
docker run -d -p 8989:8989 -v [YourOwnPath]:/pnd/data bitinit/pnd

If you want to build docker image, you can run the following command:

# clone
git clone https://github.com/BitInit/pnd-docker

cd pnd-docker

# build
docker build -t pnd .

# docker run
docker run -d -p 8989:8989 -v [YourOwnPath]:/pnd/data pnd

Property configuration

nametypedescriptionoption
USE_MYSQLBooleanWhether to use MySQL or not. If not, system will use derby databasedefault: false
MYSQL_HOSTStringmysql address
MYSQL_PORTStringmysql port
MYSQL_DB_NAMEStringmysql database name
MYSQL_USERNAMEStringmysql username
MYSQL_PASSWORDStringmysql password

example:

docker run -d -p 8989:8989 -v /var/lib/pnd:/pnd/data -e USE_MYSQL=true -e MYSQL_HOST=127.0.0.1 -e MYSQL_PORT=3306 -e MYSQL_DB_NAME=pnd_db -e MYSQL_USERNAME=root -e MYSQL_PASSWORD=123 bitinit/pnd

Tag summary

Content type

Image

Digest

Size

128.1 MB

Last updated

over 6 years ago

docker pull bitinit/pnd