-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstack.yml
More file actions
72 lines (71 loc) · 1.93 KB
/
stack.yml
File metadata and controls
72 lines (71 loc) · 1.93 KB
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
provider:
name: openfaas
gateway: http://127.0.0.1:8080
functions:
billing:
lang: golang-middleware
handler: ./billing
image: ghcr.io/${REPO:-codius}/ofc-billing:${TAG:-dev}
build_args:
GO111MODULE: on
labels:
openfaas-cloud: "1"
role: openfaas-system
com.openfaas.scale.zero: false
environment:
cost_per_unit_invocations: ${cost_per_unit_invocations:-10}
unit_invocations: ${unit_invocations:-1000}
bonus_invocations: ${bonus_invocations:-50}
balances_key_prefix: "balances"
prometheus_host: prometheus.openfaas
prometheus_port: 9090
redis_uri: "redis.openfaas:6379"
write_debug: true
limits:
memory: 128Mi
requests:
memory: 32Mi
cpu: 50m
receipt-verifier:
lang: node12
handler: ./receipt-verifier
image: ghcr.io/${REPO:-codius}/ofc-receipt-verifier:${TAG:-dev}
labels:
openfaas-cloud: "1"
role: openfaas-system
com.openfaas.scale.zero: false
environment:
balances_key_prefix: "balances"
payment_pointer: ${payment_pointer:-https://wallet/account}
receipt_verifier_uri: "http://receipt-verifier.openfaas:3000"
redis_uri: "redis.openfaas:6379"
write_debug: true
limits:
memory: 128Mi
requests:
memory: 32Mi
cpu: 50m
revshare:
lang: golang-middleware
handler: ./revshare
image: ghcr.io/${REPO:-codius}/ofc-revshare:${TAG:-dev}
build_args:
GO111MODULE: on
labels:
openfaas-cloud: "1"
role: openfaas-system
com.openfaas.scale.zero: false
environment:
basic_auth: true
gateway_url: "http://gateway.openfaas:8080/"
payment_pointer: ${payment_pointer:-https://wallet/account}
secret_mount_path: /var/openfaas/secrets
write_debug: true
secrets:
- basic-auth-user
- basic-auth-password
limits:
memory: 128Mi
requests:
memory: 32Mi
cpu: 50m