forked from chennqqi/faas-flow-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstack.yml
95 lines (95 loc) · 2.15 KB
/
stack.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
version: 1.0
provider:
name: openfaas
gateway: http://127.0.0.1:8080
functions:
add:
lang: golang-http
handler: ./add
image: ${DOCKER_USER:-superscan}/add:latest
secrets:
- dockerhub
environment:
write_debug: true
read_debug: true
square:
lang: golang-middleware
handler: ./square
image: ${DOCKER_USER:-superscan}/square:latest
secrets:
- dockerhub
environment:
write_debug: true
read_debug: true
square1:
lang: go
handler: ./square1
image: ${DOCKER_USER:-superscan}/square1:latest
secrets:
- dockerhub
environment:
write_debug: true
read_debug: true
add1:
lang: go
handler: ./add1
image: ${DOCKER_USER:-superscan}/add1:latest
secrets:
- dockerhub
environment:
write_debug: true
read_debug: true
sumofsquare:
lang: faas-flow
handler: ./sumofsquare
image: ${DOCKER_USER:-superscan}/sumofsquare:latest
labels:
faas-flow: 1
faas-flow-desc: "faasflow-test-sumofsquare"
environment:
workflow_name: "sumofsqure"
environment_file:
- conf.yml
secrets:
- s3-secret-key
- s3-access-key
- dockerhub
sumofsquare1:
lang: faas-flow
handler: ./sumofsquare1
image: ${DOCKER_USER:-superscan}/sumofsquare1:latest
labels:
faas-flow: 1
faas-flow-desc: "faasflow-test-sumofsquare1"
environment:
workflow_name: "sumofsqure1"
environment_file:
- conf.yml
secrets:
- s3-secret-key
- s3-access-key
- dockerhub
flow-ofwatchdog:
lang: faas-flow
handler: ./flow-ofwatchdog
image: ${DOCKER_USER:-superscan}/flow-ofwatchdog:latest
labels:
faas-flow: 1
faas-flow-desc: "flow-ofwatchdog"
environment:
workflow_name: "flow-of-watchdog"
environment_file:
- conf.yml
secrets:
- s3-secret-key
- s3-access-key
- dockerhub
func-ofwatchdog:
lang: golang-http
handler: ./func-ofwatchdog
image: ${DOCKER_USER:-superscan}/func-ofwatchdog:latest
secrets:
- dockerhub
environment:
write_debug: false
read_debug: false