dev.conf 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. [base]
  2. ;库来源
  3. library = docker.shemic.com/
  4. path = {base}
  5. [python]
  6. image = dev/python
  7. volumes = {path}src/python:/src
  8. [flask]
  9. image = dev/python/flask
  10. #daemon = false
  11. port = 5000:5000
  12. volumes = {path}src/python:/src
  13. [python3]
  14. #image = shemic/python3
  15. image = dev/python3
  16. volumes = {path}src/python3:/src
  17. [nodejs]
  18. image = dev/nodejs
  19. port = 8080:4000,8090:8080
  20. volumes = {path}src/nodejs:/src
  21. #command = nodejs reload
  22. [golang]
  23. image = dev/golang
  24. volumes = {path}src/golang:/src
  25. alias = go
  26. [java]
  27. image = dev/java
  28. volumes = {path}src/java:/src
  29. command = java
  30. alias = java
  31. [maven]
  32. image = dev/java/maven
  33. volumes = {path}src/maven:/src
  34. alias = mvn
  35. rely = data java
  36. [scala]
  37. image = dev/scala
  38. volumes = {path}src/scala:/src
  39. [thrift]
  40. image = java/thrift
  41. port = 8081:8080
  42. alias = thrift,thrift -r --gen php:server->thrift-php,php -S localhost:8080->start-php
  43. [alpine]
  44. image = os/alpine
  45. [alpine3.4]
  46. image = os/alpine/v3.4
  47. [ubuntu]
  48. image = os/ubuntu
  49. command = bash