docker-compose: add limits for ram and disk
This commit is contained in:
parent
f9cb0192b1
commit
741c804339
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user