ipfs/docker-compose.yml

17 lines
312 B
YAML

version: '3.7'
services:
ipfs:
restart: always
init: true
build: .
network_mode: bridge
volumes:
- ./data:/home/user
cap_add:
- IPC_LOCK # lock memory to prevent sensitive values from being swapped to disk.
shm_size: 128M
ports:
- 4001:4001
- 8080:8080