-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstack.yml
More file actions
25 lines (23 loc) · 775 Bytes
/
stack.yml
File metadata and controls
25 lines (23 loc) · 775 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: 1.0
provider:
name: openfaas
gateway: http://127.0.0.1:8080 # assumes: kubectl port-forward -n openfaas svc/gateway 8080:8080
functions:
profile-fn:
lang: dockerfile
handler: ./fn
# Pre-built public image — works as-is for running the demo.
# To make changes: docker build -t <your-user>/profile-fn:latest ./fn
# docker push <your-user>/profile-fn:latest
# then update this line.
image: asundresh/profile-fn:latest
environment:
FN_NAME: profile-fn
FN_VERSION: v1
REDIS_HOST: redis.openfaas.svc.cluster.local
REDIS_PORT: "6379"
labels:
com.openfaas.scale.min: "1"
com.openfaas.scale.max: "5"
annotations:
com.openfaas.ready.http.path: "/"