mirror of
https://github.com/openfaas/faas.git
synced 2025-06-25 08:13:25 +00:00
Compose for ARM + MarkdownRender
This commit is contained in:
4
deploy_stack.armhf.sh
Executable file
4
deploy_stack.armhf.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Deploying stack"
|
||||
docker stack deploy func --compose-file docker-compose.armhf.yml
|
@ -76,9 +76,20 @@ services:
|
||||
fprocess: "wc"
|
||||
no_proxy: "gateway"
|
||||
https_proxy: $https_proxy
|
||||
markdown:
|
||||
image: functions/markdownrender:latest-armhf
|
||||
labels:
|
||||
function: "true"
|
||||
depends_on:
|
||||
- gateway
|
||||
networks:
|
||||
- functions
|
||||
environment:
|
||||
fprocess: "wc"
|
||||
no_proxy: "gateway"
|
||||
https_proxy: $https_proxy
|
||||
|
||||
networks:
|
||||
functions:
|
||||
driver: overlay
|
||||
# Docker does not support this option yet - maybe create outside of the stack and reference as "external"?
|
||||
#attachable: true
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
FROM armhf/alpine:3.5
|
||||
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.3-alpha/fwatchdog-armhf /usr/bin/fwatchdog
|
||||
ADD https://github.com/alexellis/faas/releases/download/v0.5-alpha/fwatchdog-armhf /usr/bin/fwatchdog
|
||||
RUN chmod +x /usr/bin/fwatchdog
|
||||
|
||||
WORKDIR /root/
|
||||
|
Reference in New Issue
Block a user