Sign inSign up

mixhq/filecash

By mixhq

•Updated over 5 years ago

Image
0

468

mixhq/filecash repository overview

⁠filecash-docker

Dockerfile for filecash

⁠Building

docker build -t filecash .

⁠Running

# block dir
mkdir data
docker run --rm -itd --name fic -p 1234:1234 -p 3030:3030 -v `pwd`/data:/root/.lotus filecash

# create readonly token
docker exec -it fic /opt/coin/lotus auth create-token --perm read

⁠Only running filecoin-service

Don't run the lotus node

docker run -e WITHOUT_NODE=1 -e LOTUS_ADDR=1.1.1.1:1234 -e LOTUS_TOKEN=THE_JWT_TOKEN --rm -itd --name fic -p 1234:1234 -p 3030:3030 -v `pwd`/data:/root/.lotus filecash

⁠Using pre-built docker image

Using automated build image from https://hub.docker.com/r/mixhq/filecash/⁠:

docker run --rm -itd --name fic -p 1234:1234 -p 3030:3030 -v `pwd`/data:/root/.lotus mixhq/filecash

Tag summary

Content type

Image

Digest

Size

453.4 MB

Last updated

over 5 years ago

docker pull mixhq/filecash