diff --git a/docker-compose/common.yml b/docker-compose/common.yml index 0e566db..0f2af45 100644 --- a/docker-compose/common.yml +++ b/docker-compose/common.yml @@ -88,11 +88,11 @@ services: deploy: resources: limits: + memory: 1024M + cpus: '2.0' + reservations: memory: 512M cpus: '1.0' - reservations: - memory: 256M - cpus: '0.5' environment: - IOTA_NORTH_PORT=${IOTA_NORTH_PORT} - IOTA_REGISTRY_TYPE=mongodb #Whether to hold IoT device info in memory or in a database @@ -279,4 +279,4 @@ volumes: driver_opts: type: none o: bind - device: ${PWD}/data-models \ No newline at end of file + device: ${PWD}/data-models