docker-compose-with-storage.yml 974 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. version: '3'
  2. services:
  3. ipfs:
  4. image: ipfs/go-ipfs:latest
  5. ports:
  6. - '127.0.0.1:5001:5001'
  7. - '127.0.0.1:8080:8080'
  8. entrypoint: ''
  9. command: |
  10. /bin/sh -c "
  11. set -e
  12. /usr/local/bin/start_ipfs config profile apply lowpower
  13. /usr/local/bin/start_ipfs config --json Gateway.PublicGateways '{\"localhost\": null }'
  14. /sbin/tini -- /usr/local/bin/start_ipfs daemon --migrate=true
  15. "
  16. chain:
  17. image: joystream/node
  18. build:
  19. context: .
  20. dockerfile: joystream-node.Dockerfile
  21. ports:
  22. - '127.0.0.1:9944:9944'
  23. command: --dev --ws-external --base-path /data --log runtime
  24. colossus:
  25. image: joystream/apps
  26. restart: on-failure
  27. depends_on:
  28. - "chain"
  29. - "ipfs"
  30. build:
  31. context: .
  32. dockerfile: apps.Dockerfile
  33. ports:
  34. - '127.0.0.1:3001:3001'
  35. command: colossus --dev --ws-provider ws://chain:9944 --ipfs-host ipfs
  36. environment:
  37. - DEBUG=*