Skip to content
Discussion options

You must be logged in to vote

CasaOS stores its active application configurations as standard Docker Compose structures. You can append native Docker Compose V3 resource limits by modifying the local App management files directly.

1. Locate the App's Compose File

Every application installed via CasaOS has its configuration stored in /var/lib/casaos/apps/. Navigate to the directory of the target application:

cd /var/lib/casaos/apps/[app_name]/

Open the docker-compose.yml file using your preferred editor.

2. Inject the Resource Constraints

Under the specific container service definition, add the deploy block specifying your maximum limits (e.g., capping the app at 2 CPU cores and 1GB of RAM):

services:
  app-service-name:…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by SufyExpert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants