stack-orchestrator/stack_orchestrator/data/compose/docker-compose-kubo.yml

25 lines
497 B
YAML
Raw Normal View History

version: "3.2"
# See: https://docs.ipfs.tech/install/run-ipfs-inside-docker/#set-up
services:
ipfs:
image: ipfs/kubo:master-2023-02-20-714a968
restart: always
volumes:
- ipfs-import:/import
- ipfs-data:/data/ipfs
ports:
- "4001"
- "8080"
- "0.0.0.0:5001:5001"
healthcheck:
test: ["CMD", "nc", "-v", "localhost", "5001"]
interval: 20s
timeout: 5s
retries: 15
start_period: 10s
volumes:
ipfs-import:
ipfs-data: