|
@@ -23,6 +23,32 @@ services:
|
|
|
container_name: "panda-mchreader"
|
|
|
command: ['python','mchreader.py', '-h', '172.26.105.125', '-p', '6379']
|
|
|
|
|
|
+ speedreader:
|
|
|
+ image: pycpu:3.7.10
|
|
|
+ volumes:
|
|
|
+ - ../../../../:/var/www/html
|
|
|
+ - ../conf/etc/localtime:/etc/localtime:ro
|
|
|
+ - /nfs/upload:/var/www/html/data/upload
|
|
|
+ - /mnt/shoplog:/var/www/html/data/log
|
|
|
+ - /mnt/stdata:/var/www/html/data/stdata
|
|
|
+ container_name: "panda-speedreader"
|
|
|
+ command: ['python','speed_reader.py', '-h', '172.26.105.125', '-p', '6379']
|
|
|
+ deploy:
|
|
|
+ resources:
|
|
|
+ limits:
|
|
|
+ cpus: '8'
|
|
|
+
|
|
|
+ chspeed:
|
|
|
+ image: pycpu:3.7.10
|
|
|
+ volumes:
|
|
|
+ - ../../../../:/var/www/html
|
|
|
+ - ../conf/etc/localtime:/etc/localtime:ro
|
|
|
+ - /nfs/upload:/var/www/html/data/upload
|
|
|
+ - /mnt/shoplog:/var/www/html/data/log
|
|
|
+ - /mnt/stdata:/var/www/html/data/stdata
|
|
|
+ container_name: "panda-chspeed"
|
|
|
+ command: ['python','chspeed.py','-h', '172.26.105.125', '-p', '6379']
|
|
|
+
|
|
|
ratiosrv:
|
|
|
image: pycpu:3.7.10
|
|
|
volumes:
|