Prioritise memory and CPU to FreeDMR so MOnitor does not steal resources.
This commit is contained in:
parent
01dbdf9d1e
commit
a4d8b6723d
@ -2,6 +2,8 @@ version: '2.1'
|
||||
services:
|
||||
freedmr:
|
||||
container_name: freedmr
|
||||
cpu_shares: 1024
|
||||
mem_reservation: 600m
|
||||
volumes:
|
||||
- '/etc/freedmr/freedmr.cfg:/opt/freedmr/freedmr.cfg'
|
||||
- '/var/log/freedmr/freedmr.log:/opt/freedmr/freedmr.log'
|
||||
@ -23,6 +25,7 @@ services:
|
||||
|
||||
freedmrmon:
|
||||
container_name: freedmrmon
|
||||
cpu_shares: 512
|
||||
depends_on:
|
||||
- freedmr
|
||||
volumes:
|
||||
@ -47,6 +50,7 @@ services:
|
||||
|
||||
freedmrmonpache:
|
||||
container_name: freedmrmonapache
|
||||
cpu_shares: 512
|
||||
depends_on:
|
||||
- freedmrmon
|
||||
#Use to override html files
|
||||
|
Loading…
Reference in New Issue
Block a user