1 Star 0 Fork 0

tms/go-ipfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yaml 795 Bytes
一键复制 编辑 原始数据 按行查看 历史
version: '3.8'
services:
ipfs:
build: .
restart: unless-stopped
volumes:
- ipfs_path:/data/ipfs
- ipfs_fuse:/ipfs
- ipns_fuse:/ipns
environment:
- IPFS_PATH=/data/ipfs
ports:
# Swarm listens on all interfaces, so is remotely reachable.
- 4001:4001/tcp
- 4001:4001/udp
# The following ports only listen on the loopback interface, so are not remotely reachable by default.
# If you want to override these or add more ports, see https://docs.docker.com/compose/extends/ .
# API port, which includes admin operations, so you probably don't want this remotely accessible.
- 127.0.0.1:5001:5001
# HTTP Gateway
- 127.0.0.1:8080:8080
volumes:
ipfs_path:
ipfs_fuse:
ipns_fuse:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zuoann/go-ipfs.git
git@gitee.com:zuoann/go-ipfs.git
zuoann
go-ipfs
go-ipfs
master

搜索帮助