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.

42 lines
758 B

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