From 0602a3a26e64f46f5569f49fb03addcfe8d08cbf Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 1 Nov 2017 13:13:47 +0100 Subject: [PATCH] feat(stacks): add stack templates --- Dockerfile | 1 + stack_templates.json | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 stack_templates.json diff --git a/Dockerfile b/Dockerfile index 37f7500..d3d82a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM nginx:stable-alpine COPY templates.json /usr/share/nginx/html/templates.json +COPY stack_templates.json /usr/share/nginx/html/stack_templates.json EXPOSE 80 diff --git a/stack_templates.json b/stack_templates.json new file mode 100644 index 0000000..3796d83 --- /dev/null +++ b/stack_templates.json @@ -0,0 +1,14 @@ +[ + { + "title": "OpenFaaS", + "description": "A serverless framework", + "note": "Deploys the API gateway and sample functions. You can access the UI on port 8080.", + "categories": ["serverless"], + "platform": "linux", + "logo": "https://cloudinovasi.id/assets/img/logos/registry.png", + "repository": { + "url": "https://github.com/openfaas/faas", + "stackfile": "docker-compose.yml" + } + } +]