提高进程限制
This commit is contained in:
@@ -26,7 +26,7 @@ services:
|
||||
context: ./services/paddle_services
|
||||
container_name: ocr
|
||||
hostname: ocr
|
||||
command: [ '-w', '4', 'ocr:app', '--bind', '0.0.0.0:5001' ]
|
||||
command: [ '-w', '100', 'ocr:app', '--bind', '0.0.0.0:5001' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
<<: *paddle_template
|
||||
container_name: ie_settlement
|
||||
hostname: ie_settlement
|
||||
command: [ '-w', '4', 'ie_settlement:app', '--bind', '0.0.0.0:5002' ]
|
||||
command: [ '-w', '100', 'ie_settlement:app', '--bind', '0.0.0.0:5002' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -52,7 +52,7 @@ services:
|
||||
<<: *paddle_template
|
||||
container_name: ie_discharge
|
||||
hostname: ie_discharge
|
||||
command: [ '-w', '4', 'ie_discharge:app', '--bind', '0.0.0.0:5003' ]
|
||||
command: [ '-w', '100', 'ie_discharge:app', '--bind', '0.0.0.0:5003' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -65,7 +65,7 @@ services:
|
||||
<<: *paddle_template
|
||||
container_name: ie_cost
|
||||
hostname: ie_cost
|
||||
command: [ '-w', '4', 'ie_cost:app', '--bind', '0.0.0.0:5004' ]
|
||||
command: [ '-w', '100', 'ie_cost:app', '--bind', '0.0.0.0:5004' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -78,7 +78,7 @@ services:
|
||||
<<: *paddle_template
|
||||
container_name: clas_orientation
|
||||
hostname: clas_orientation
|
||||
command: [ '-w', '3', 'clas_orientation:app', '--bind', '0.0.0.0:5005' ]
|
||||
command: [ '-w', '100', 'clas_orientation:app', '--bind', '0.0.0.0:5005' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -91,7 +91,7 @@ services:
|
||||
<<: *paddle_template
|
||||
container_name: det_book
|
||||
hostname: det_book
|
||||
command: [ '-w', '4', 'det_book:app', '--bind', '0.0.0.0:5006' ]
|
||||
command: [ '-w', '100', 'det_book:app', '--bind', '0.0.0.0:5006' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
@@ -104,7 +104,7 @@ services:
|
||||
<<: *paddle_template
|
||||
container_name: dewarp
|
||||
hostname: dewarp
|
||||
command: [ '-w', '4', 'dewarp:app', '--bind', '0.0.0.0:5007' ]
|
||||
command: [ '-w', '100', 'dewarp:app', '--bind', '0.0.0.0:5007' ]
|
||||
deploy:
|
||||
resources:
|
||||
reservations:
|
||||
|
||||
Reference in New Issue
Block a user