Prioritise memory and CPU to FreeDMR so MOnitor does not steal resources.

This commit is contained in:
Simon 2021-09-19 21:08:18 +01:00
parent 01dbdf9d1e
commit a4d8b6723d

View File

@ -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