mirror of
https://github.com/openfaas/faas.git
synced 2025-06-10 01:06:47 +00:00
Add NATS for armhf
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
This commit is contained in:
parent
24306dd902
commit
39f5119e49
@ -7,7 +7,7 @@ services:
|
|||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
image: functions/gateway:0.6.7-armhf
|
image: functions/gateway:0.6.9-armhf
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
version: "3.2"
|
version: "3.3"
|
||||||
services:
|
services:
|
||||||
gateway:
|
gateway:
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
image: functions/gateway:0.6.7-armhf
|
image: functions/gateway:0.6.9-armhf
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
environment:
|
environment:
|
||||||
@ -40,7 +40,7 @@ services:
|
|||||||
- 'node.platform.os == linux'
|
- 'node.platform.os == linux'
|
||||||
|
|
||||||
queue-worker:
|
queue-worker:
|
||||||
image: alexellis2/nats-queue-worker:0.1-armhf
|
image: functions/queue-worker:0.2-armhf
|
||||||
networks:
|
networks:
|
||||||
- functions
|
- functions
|
||||||
deploy:
|
deploy:
|
||||||
@ -53,6 +53,8 @@ services:
|
|||||||
constraints:
|
constraints:
|
||||||
- 'node.platform.os == linux'
|
- 'node.platform.os == linux'
|
||||||
|
|
||||||
|
# --
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
image: alexellis2/prometheus-armhf:1.5.2
|
image: alexellis2/prometheus-armhf:1.5.2
|
||||||
volumes:
|
volumes:
|
||||||
@ -90,9 +92,8 @@ services:
|
|||||||
placement:
|
placement:
|
||||||
constraints: [node.role == manager]
|
constraints: [node.role == manager]
|
||||||
|
|
||||||
# sample functions go here, but can be created in the UI too.
|
markdown:
|
||||||
nodeinfo:
|
image: functions/markdownrender:latest-armhf
|
||||||
image: functions/nodeinfo:latest-armhf
|
|
||||||
labels:
|
labels:
|
||||||
function: "true"
|
function: "true"
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -103,8 +104,7 @@ services:
|
|||||||
no_proxy: "gateway"
|
no_proxy: "gateway"
|
||||||
https_proxy: $https_proxy
|
https_proxy: $https_proxy
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
functions:
|
functions:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
#attachable: true
|
attachable: true
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM arm32v6/alpine:3.6
|
FROM alpine:3.6
|
||||||
|
|
||||||
ADD https://github.com/openfaas/faas/releases/download/0.6.0/fwatchdog-armhf /usr/bin/fwatchdog
|
ADD https://github.com/openfaas/faas/releases/download/0.6.9/fwatchdog-armhf /usr/bin/fwatchdog
|
||||||
RUN chmod +x /usr/bin/fwatchdog
|
RUN chmod +x /usr/bin/fwatchdog
|
||||||
|
|
||||||
# Populate example here
|
# Populate example here
|
||||||
|
Loading…
x
Reference in New Issue
Block a user