docker-compose: add limits for ram and disk

This commit is contained in:
root 2023-05-31 21:04:38 +00:00
parent f9cb0192b1
commit 741c804339

View File

@ -10,6 +10,9 @@ services:
- "7777:7777/udp" - "7777:7777/udp"
- "27015:27015/udp" - "27015:27015/udp"
- "8081:8080" - "8081:8080"
storage_opt:
size: '256M'
mem_limit: "768M"
kf2server2: kf2server2:
build: . build: .
@ -21,3 +24,6 @@ services:
- "7779:7779/udp" - "7779:7779/udp"
- "27017:21017/udp" - "27017:21017/udp"
- "8082:8080" - "8082:8080"
storage_opt:
size: '256M'
mem_limit: "768M"