|
@@ -10,4 +10,8 @@ services:
|
|
|
- /mnt/yllog:/var/www/html/data/log
|
|
|
- /mnt/stdata:/var/www/html/data/stdata
|
|
|
container_name: "yl-qreader"
|
|
|
- command: ['python','qreader.py','-h', '172.26.105.125', '-p', '6379']
|
|
|
+ command: ['python','qreader.py','-h', '172.26.105.125', '-p', '6379']
|
|
|
+ deploy:
|
|
|
+ resources:
|
|
|
+ limits:
|
|
|
+ cpus: '8'
|