Add read-only support and annotations

The update to the gateway and faas-swarm add read-only containers
and the ability to use annotations in the function schema.

faas-cli 0.6.17 is required.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (VMware) 2018-08-01 15:50:32 +01:00
parent 50b030ffd1
commit 90335018ff

View File

@ -3,7 +3,7 @@ services:
gateway: gateway:
ports: ports:
- 8080:8080 - 8080:8080
image: openfaas/gateway:0.8.7 image: openfaas/gateway:0.8.9
networks: networks:
- functions - functions
environment: environment:
@ -43,7 +43,7 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
# ports: # ports:
# - 8081:8080 # - 8081:8080
image: openfaas/faas-swarm:0.3.5 image: openfaas/faas-swarm:0.4.0
networks: networks:
- functions - functions
environment: environment: