Files
nixos-server-config/compose-configs/ipfs-kubo/compose.yml
T

17 lines
596 B
YAML

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