标签:rip add number htm mod keyword docke latest nta
ipfs 是一个分布式,p2p 的文件系统,参考了git、bt、sfs 以及web 的设计
version: "3"
services:
ipfs:
image: ipfs/go-ipfs:latest
hostname: ipfs_host1
volumes:
- "./export:/export"
- "./data/ipfs:/data/ipfs"
ports:
- "5001:5001"
- "4001:4001"
- "8080:8080"
docker-compose up -d
ipfs add -r /export
效果
added QmXhdrziCp16DzWYwQQJHZZmSZxoYwbPV3KaBPkLsDQWRU export/images/WX20181216-220154@2x.png
added QmWSx63vkEauEt4qVhjL13aQ4yrVX6Vs9HKrAL1AjmMvWn export/index.html
added QmWRxU6QBzRKGTYPNkdBjQb49SyyvNS1eaJmxmiQu26TTJ export/images
added QmT2YepbRBL1eLyZevZnYQ6b4MwthVyuHiao8xqhmpyPMd export
open http://localhost:8080/ipfs/QmT2YepbRBL1eLyZevZnYQ6b4MwthVyuHiao8xqhmpyPMd
ipfs 设计很不错,目前还在设计演变,但是里面是很不错
https://github.com/ipfs/go-ipfs
https://github.com/ipfs/ipfs
https://github.com/rongfengliang/ipfs-docker-compose
标签:rip add number htm mod keyword docke latest nta
原文地址:https://www.cnblogs.com/rongfengliang/p/10128849.html