Remove memory limit on gateway/swarm and remove old armhf file
@@ -16,10 +16,10 @@ services:
faas_nats_port: 4222
deploy:
resources:
- limits:
- memory: 100M
+ # limits: # Enable if you want to limit memory usage
+ # memory: 200M
reservations:
- memory: 50M
+ memory: 100M
restart_policy:
condition: on-failure
delay: 5s
@@ -35,7 +35,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock"
# ports:
# - 8081:8080
- image: functions/faas-swarm:0.2.0
+ image: functions/faas-swarm:0.2.1
networks:
- functions
environment:
@@ -48,10 +48,10 @@ services:
- 'node.role == manager'
- 'node.platform.os == linux'
resources:
- limits:
- memory: 100M
+ # limits: # Enable if you want to limit memory usage
+ # memory: 100M
reservations:
- memory: 50M
+ memory: 100M
restart_policy:
condition: on-failure
delay: 5s
@@ -270,4 +270,3 @@ networks:
attachable: true
labels:
- "openfaas=true"
-
