docker-compose.yml 852 B

12345678910111213141516171819202122232425262728
  1. version: '2'
  2. services:
  3. livy:
  4. hostname: livy
  5. container_name: livy
  6. restart: always
  7. image: registry.cn-hangzhou.aliyuncs.com/sxtest/livy:idctest
  8. privileged: true
  9. ipc: host
  10. tty: true
  11. ports:
  12. - '31100-31110:31100-31110'
  13. - '8998:8998'
  14. extra_hosts:
  15. - 'cdhtestdn08.yili.com:10.116.1.78'
  16. - 'cdhtestdn07.yili.com:10.116.1.77'
  17. - 'cdhtestdn06.yili.com:10.116.1.76'
  18. - 'cdhtestdn05.yili.com:10.116.1.75'
  19. - 'cdhtestdn04.yili.com:10.116.1.74'
  20. - 'cdhtestdn03.yili.com:10.116.1.73'
  21. - 'cdhtestdn02.yili.com:10.116.1.72'
  22. - 'cdhtestdn01.yili.com:10.116.1.71'
  23. - 'cdhtestnm01.yili.com:10.119.14.67'
  24. - 'cdhtestnm02.yili.com:10.119.14.68'
  25. environment:
  26. LIVY_SERVER_JAVA_OPTS: '-Dlivy.rsc.launcher.address=10.138.143.16'
  27. # volumes:
  28. # - ./:/workspace