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: