mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-31 07:50:08 +00:00
feat: raise cpu_shares from 1024 to 2048 for mastercontainer
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/c36c6e2f-54a4-4459-8398-90fd936857cb Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
22f7552df5
commit
42b0d661c8
@@ -4,7 +4,7 @@ services:
|
||||
image: ghcr.io/nextcloud-releases/all-in-one:latest # This is the container image used. You can switch to ghcr.io/nextcloud-releases/all-in-one:beta if you want to help testing new releases. See https://github.com/nextcloud/all-in-one#how-to-switch-the-channel
|
||||
init: true # This setting makes sure that signals from main process inside the container are correctly forwarded to children. See https://docs.docker.com/reference/compose-file/services/#init
|
||||
restart: always # This makes sure that the container starts always together with the host OS. See https://docs.docker.com/reference/compose-file/services/#restart
|
||||
cpu_shares: 1024 # This explicitly sets the CPU share weighting (default is 1024). Increase this value (e.g. to 2048) to give the mastercontainer higher CPU priority over other containers for better responsiveness under heavy load. See https://docs.docker.com/reference/compose-file/services/#cpu_shares
|
||||
cpu_shares: 2048 # This gives the mastercontainer twice the default CPU share weighting (default is 1024), ensuring it stays responsive under heavy load from sibling containers. See https://docs.docker.com/reference/compose-file/services/#cpu_shares
|
||||
container_name: nextcloud-aio-mastercontainer # This line is not allowed to be changed as otherwise AIO will not work correctly
|
||||
volumes:
|
||||
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config # This line is not allowed to be changed as otherwise the built-in backup solution will not work
|
||||
|
||||
Reference in New Issue
Block a user