aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xdocker/ipfs.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/ipfs.sh b/docker/ipfs.sh
new file mode 100755
index 0000000..ea1c717
--- /dev/null
+++ b/docker/ipfs.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env sh
+
+IPFS_STAGING="/home/devi/.ipfs/staging";IPFS_DATA="/home/devi/.ippfs/data";docker run -d --name ipfs_host -v $IPFS_STAGING:/export -v $IPFS_DATA:/data/ipfs -p 4001:4001 -p 8881:8080 -p 5001:5001 ipfs/go-ipfs:latest