forked from openfaas/openfaas-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstack.yml
41 lines (39 loc) · 1.24 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
provider:
name: faas
gateway: http://127.0.0.1:8080
# If using of-router then retain the system- prefix, if not using a wildcard-DNS
# please remove the prefix of `system-`
functions:
system-dashboard:
lang: node8-express
handler: ./of-cloud-dashboard
image: functions/of-cloud-dashboard:0.2.1
labels:
openfaas-cloud: "1"
role: openfaas-system
environment:
write_debug: true
# gateway_url: http://gateway:8080/ # when using Swarm
gateway_url: http://gateway.openfaas:8080/
# base_href: `/function/system-dashboard/` # if not using router
base_href: '/dashboard/'
# public_url: http://laptop-ip:8080/ # if deploying locally
public_url: https://system.o6s.io
# Comment out if not using public pretty-URL
pretty_url: https://user.o6s.io/function
query_pretty_url: 'true'
system-list-functions:
skip_build: true
image: functions/list-functions:0.4.7
fprocess: ./handler
labels:
openfaas-cloud: "1"
role: openfaas-system
environment:
gateway_url: http://gateway.openfaas:8080/
secret_mount_path: /var/openfaas/secrets
basic_auth: true
write_debug: true
secrets:
- basic-auth-user
- basic-auth-password