Limit cpu usage

This commit is contained in:
Zoe Roux 2023-11-06 00:26:37 +01:00
parent 556b2a2317
commit 0e71242fd3
2 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,7 @@ services:
ports:
- "7666:7666"
restart: on-failure
cpus: 0.2
env_file:
- ./.env
volumes:

View File

@ -4,6 +4,7 @@ services:
back:
image: zoriya/kyoo_back:edge
restart: unless-stopped
cpus: 0.8
env_file:
- ./.env
depends_on:
@ -35,6 +36,7 @@ services:
transcoder:
image: zoriya/kyoo_transcoder:edge
restart: unless-stopped
cpus: 0.8
env_file:
- ./.env
volumes: