Dockerfile for filecash
docker build -t filecash .
# 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
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 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
Content type
Image
Digest
Size
453.4 MB
Last updated
over 5 years ago
docker pull mixhq/filecash