Skip to content

Commit

Permalink
limite docker usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MateoLostanlen committed May 15, 2024
1 parent 523d16a commit 175c6ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ services:
max-size: "100m"
max-file: "5"

deploy:
resources:
limits:
cpus: '3.0' # Limit to 3 CPUs
memory: '3g' # Limit memory usage to 3GB

# promtail:
# image: grafana/promtail:2.7.3
# ports:
Expand Down

0 comments on commit 175c6ca

Please sign in to comment.