add limits
This commit is contained in:
@@ -12,4 +12,12 @@ services:
|
||||
- GODEBUG=netdns=go+4
|
||||
ports:
|
||||
- "2000:2000"
|
||||
- "8080:3000"
|
||||
- "8080:3000"
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "0.50"
|
||||
memory: 512M
|
||||
reservations:
|
||||
cpus: "0.25"
|
||||
memory: 128M
|
||||
Reference in New Issue
Block a user