feat(templates): add IronFunction templates (#83)

This commit is contained in:
Anthony Lapenna
2018-01-08 14:11:02 +01:00
committed by GitHub
parent c999298c44
commit 84cfa51d24
2 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
version: '3'
services:
api:
image: iron/functions
deploy:
replicas: 1
volumes:
- api_data:/app/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8080
ui:
image: iron/functions-ui
deploy:
replicas: 1
environment:
API_URL: http://api:8080
ports:
- 4000
volumes:
api_data:

View File

@@ -307,6 +307,40 @@
], ],
"volumes": ["C:/temp/"] "volumes": ["C:/temp/"]
}, },
{
"type": "container",
"title": "IronFunctions API",
"description": "Open-source serverless computing platform",
"categories": ["serverless"],
"platform": "linux",
"logo": "https://cloudinovasi.id/assets/img/logos/ironfunctions.png",
"image": "iron/functions:latest",
"ports": [
"8080/tcp"
],
"volumes": ["/app/data"],
"privileged": true
},
{
"type": "container",
"title": "IronFunctions UI",
"description": "Open-source user interface for IronFunctions",
"categories": ["serverless"],
"platform": "linux",
"logo": "https://cloudinovasi.id/assets/img/logos/ironfunctions.png",
"image": "iron/functions-ui:latest",
"ports": [
"4000/tcp"
],
"volumes": ["/app/data"],
"env": [
{
"name": "API_URL",
"label": "API URL"
}
],
"privileged": true
},
{ {
"type": "container", "type": "container",
"title": "Solr", "title": "Solr",
@@ -647,6 +681,19 @@
"stackfile": "docker-compose.yml" "stackfile": "docker-compose.yml"
} }
}, },
{
"type": "stack",
"title": "IronFunctions",
"description": "Open-source serverless computing platform",
"note": "Deploys the IronFunctions API and UI.",
"categories": ["serverless"],
"platform": "linux",
"logo": "https://cloudinovasi.id/assets/img/logos/ironfunctions.png",
"repository": {
"url": "https://github.com/deviantony/ironfunctions_stack",
"stackfile": "docker-stack.yml"
}
},
{ {
"type": "stack", "type": "stack",
"title": "CockroachDB", "title": "CockroachDB",