1
0

docker-compose.yml 300 B

1234567891011121314151617
  1. version: '2'
  2. volumes:
  3. ipfs_repo:
  4. services:
  5. ipfs:
  6. build: .
  7. image: fphammerle/ipfs
  8. volumes:
  9. - ipfs_repo:/ipfs-repo:rw
  10. ports:
  11. - '4001:4001'
  12. security_opt: ['no-new-privileges']
  13. restart: unless-stopped
  14. # https://docs.docker.com/compose/compose-file/compose-file-v2/