mirror of
https://codeberg.org/gigirassy/nixos-server-config
synced 2026-08-30 23:37:41 +00:00
Add compose-configs/ipfs-kubo/compose.yml
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
services:
|
||||||
|
ipfs:
|
||||||
|
# Make sure to pin some files you want to host for others using the web UI at http://127.0.0.1:5001/webui
|
||||||
|
# https://ipfs.io
|
||||||
|
# https://docs.ipfs.tech/install/run-ipfs-inside-docker/
|
||||||
|
# https://hub.docker.com/r/ipfs/kubo/
|
||||||
|
image: ghcr.io/gigirassy/kubo:master # custom docker image based on alpine
|
||||||
|
ports:
|
||||||
|
- 4001:4001
|
||||||
|
- 4001:4001/udp # public swarm UDP
|
||||||
|
- 8013:8080 # public gateway
|
||||||
|
- 127.0.0.1:5001:5001 # private API
|
||||||
|
volumes:
|
||||||
|
- ./data/ipfs:/data/ipfs
|
||||||
|
cpus: 1
|
||||||
|
mem_limit: 700m
|
||||||
|
restart: always
|
||||||
Reference in New Issue
Block a user