tool.conf 687 B

1234567891011121314151617181920212223242526
  1. [base]
  2. ;库来源
  3. library = docker.shemic.com/
  4. path = {base}
  5. network = hadoop
  6. [zeppelin]
  7. num = 1
  8. image = data/zeppelin/me
  9. port = 10000:8080
  10. volumes = {path}conf/zeppelin:/usr/local/zeppelin/conf
  11. [jupyter]
  12. num = 1
  13. image = tool/jupyter
  14. port = 10001:8888
  15. volumes = {path}conf/jupyter:/root/.jupyter
  16. [apidoc]
  17. num = 1
  18. image = tool/apidoc
  19. volumes = {path}src/apidoc/input:/root/input,{path}web/apidoc:/root/output,{path}src/apidoc/config:/root/config
  20. call = apidoc
  21. #使用dever call tool apidoc input=demo&out=output来运行,然后可以在宿主机里使用apidoc命令
  22. param = -i /root/input/{$input:demo}/ -o /root/{$out:output} -c /root/config
  23. alias = apidoc