docker-compose.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. version: "3.7"
  2. services:
  3. mamount:
  4. image: pycpu:3.7.10
  5. volumes:
  6. - ../../../../:/var/www/html
  7. - ../conf/etc/localtime:/etc/localtime:ro
  8. - /mnt/shoplog:/var/www/html/data/log
  9. - /mnt/stdata:/var/www/html/data/stdata
  10. restart: always
  11. container_name: "panda-mamount"
  12. command: ['python','mamount_lack.py', '-h', '172.26.105.125', '-p', '6379']
  13. mpratios:
  14. image: pycpu:3.7.10
  15. volumes:
  16. - ../../../../:/var/www/html
  17. - ../conf/etc/localtime:/etc/localtime:ro
  18. - /mnt/shoplog:/var/www/html/data/log
  19. - /mnt/stdata:/var/www/html/data/stdata
  20. restart: always
  21. container_name: "panda-mpratios"
  22. command: ['python','mprofit_ratio.py', '-h', '172.26.105.125', '-p', '6379']
  23. mtimesratios:
  24. image: pycpu:3.7.10
  25. volumes:
  26. - ../../../../:/var/www/html
  27. - ../conf/etc/localtime:/etc/localtime:ro
  28. - /mnt/shoplog:/var/www/html/data/log
  29. - /mnt/stdata:/var/www/html/data/stdata
  30. restart: always
  31. container_name: "panda-mtimesratios"
  32. command: [ 'python','mtimesratio.py', '-h', '172.26.105.125', '-p', '6379' ]
  33. chspeedratio:
  34. image: pycpu:3.7.10
  35. volumes:
  36. - ../../../../:/var/www/html
  37. - ../conf/etc/localtime:/etc/localtime:ro
  38. - /mnt/shoplog:/var/www/html/data/log
  39. - /mnt/stdata:/var/www/html/data/stdata
  40. restart: always
  41. container_name: "panda-chspeedratio"
  42. command: ['python','chspeedratio.py', '-h', '172.26.105.125', '-p', '6379']
  43. chspeedctl:
  44. image: pycpu:3.7.10
  45. volumes:
  46. - ../../../../:/var/www/html
  47. - ../conf/etc/localtime:/etc/localtime:ro
  48. - /mnt/shoplog:/var/www/html/data/log
  49. - /mnt/stdata:/var/www/html/data/stdata
  50. restart: always
  51. container_name: "panda-chspeedctl"
  52. command: ['python','chspeedctl.py', '-h', '172.26.105.125', '-p', '6379']