-
Notifications
You must be signed in to change notification settings - Fork 3
/
stack.yml
36 lines (33 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
provider:
name: faas
gateway: http://127.0.0.1:8080
functions:
# Alexa skill to handle daily-home alexa skill request
dhome-alexa:
lang: node8-express
handler: ./alexa
image: s8sg/dhome-alexa:1.0.0
environment:
# The alexa app id for daily-home skill
alexa_app_id: ""
# registry_url: http://dhome-registry1:9000/
# TODO: below values will be read from registry based on user
device_url: "http://device-gateway:6107"
# Gateway to handle the UI and API request
dhome-gateway:
skip_build: true
lang: Dockerfile
handler: ./gateway
image: s8sg/dhome-gateway:1.0.0
environment:
# The API token that need to be used to authenticate user and used as cookie
api_token: "just-because-something-doesnt-do-what-you-planned-it-to-do-doesnt-mean-its-useless"
# UI Specific Conf
# The public URI for your dhome gateway (if not specified it will use the serveraddr)
gateway_public_uri: "http://127.0.0.1:8080/function/dhome-gateway"
# The access key and secret key used for the registry/secrets
username: "admin"
password: "admin"
# registry conf
CONSUL_ADDRESS: "statestore_consul:8500"
CONSUL_DC: "dc1"