Skip to content

Commit ca59329

Browse files
committed
fix: limit cpu to 12 and memory to 32G
1 parent 47af63d commit ca59329

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

compose.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ services:
1515
build: ./docker
1616
restart: always
1717
privileged: true
18-
mem_limit: 32gb
18+
deploy:
19+
resources:
20+
limits:
21+
cpus: '12'
22+
memory: 32G
1923
depends_on:
2024
- mongo
2125
volumes:

0 commit comments

Comments
 (0)