1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
This commit is contained in:
kev 2022-09-08 16:55:58 +08:00
parent 3c977e5499
commit a34f6a6cac
3 changed files with 29 additions and 0 deletions

View File

@ -366,6 +366,7 @@ A collection of delicious docker recipes.
- [x] wurstmeister/kafka
- [x] mailgun/kafka-pixy
- [x] devopsfaith/krakend
- [x] ipfs/kubo
- [x] heartexlabs/label-studio
- [x] martialblog/limesurvey
- [x] mailhog/mailhog

13
kubo/README.md Normal file
View File

@ -0,0 +1,13 @@
kubo
====
[Kubo][1] (go-ipfs) the earliest and most widely used implementation of IPFS.
```bash
$ echo "hello world" > hello
$ ipfs add hello
QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o
$ ipfs cat QmT78zSuBmuS4z925WZfrqQ1qHaJ56DQaTfyMUF7F8ff5o
```
[1]: https://github.com/ipfs/kubo

15
kubo/docker-compose.yml Normal file
View File

@ -0,0 +1,15 @@
version: "3.8"
services:
kubo:
image: ipfs/kubo
ports:
- "4001:4001/tcp"
- "4001:4001/udp"
- "5001:5001"
- "8080:8080"
volumes:
- ./data/export:/export
- ./data/ipfs:/data/ipfs
environment:
- IPFS_PROFILE=server
restart: unless-stopped