You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
776 B

  1. version: '2'
  2. services:
  3. master:
  4. build:
  5. context: .
  6. dockerfile: Dockerfile.go_build
  7. ports:
  8. - 9333:9333
  9. - 19333:19333
  10. command: "master"
  11. volume:
  12. build:
  13. context: .
  14. dockerfile: Dockerfile.go_build
  15. ports:
  16. - 8080:8080
  17. - 18080:18080
  18. command: 'volume -max=5 -mserver="master:9333" -port=8080'
  19. depends_on:
  20. - master
  21. filer:
  22. build:
  23. context: .
  24. dockerfile: Dockerfile.go_build
  25. ports:
  26. - 8888:8888
  27. - 18888:18888
  28. command: 'filer -master="master:9333"'
  29. depends_on:
  30. - master
  31. - volume
  32. s3:
  33. build:
  34. context: .
  35. dockerfile: Dockerfile.go_build
  36. ports:
  37. - 8333:8333
  38. command: 's3 -filer="filer:8888"'
  39. depends_on:
  40. - master
  41. - volume
  42. - filer