kopia lustrzana https://github.com/Yakifo/amqtt
add docker container resource limits in compose example
rodzic
6f724b9a23
commit
02c4116bfe
|
@ -2,6 +2,14 @@ services:
|
||||||
amqtt:
|
amqtt:
|
||||||
image: amqtt/amqtt
|
image: amqtt/amqtt
|
||||||
container_name: amqtt
|
container_name: amqtt
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '3'
|
||||||
|
memory: 8g
|
||||||
|
reservations:
|
||||||
|
cpus: '3'
|
||||||
|
memory: 8g
|
||||||
ports:
|
ports:
|
||||||
- "1883:1883"
|
- "1883:1883"
|
||||||
- "8080:8080"
|
- "8080:8080"
|
||||||
|
|
Ładowanie…
Reference in New Issue