-
Notifications
You must be signed in to change notification settings - Fork 3
/
app.yaml
35 lines (27 loc) · 875 Bytes
/
app.yaml
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
service: notification
runtime: python
api_version: '1.0'
env: flex
runtime_config:
python_version: 3.6
# The load is very low, so one reliable VM instance can handle it.
manual_scaling:
instances: 1
entrypoint: python3.6 src/notification_service.py
env_variables:
# Name of the topic AND subscription for notification pub-sub messages.
# (both share the same name)
GCLOUD_NOTIFICATIONS_TOPIC_SUBS: notifications
# IoT device registry.
GCLOUD_DEV_REG: device-registry
# PFC topic AND subscription for data / recipes.
GCLOUD_DEV_EVENTS: device-events
# Area we deploy to and cover.
GCLOUD_REGION: us-east1
GCLOUD_ZONE: us-east1-b
# Data service specific env vars.
BQ_DATASET: openag_public_user_data
BQ_TABLE: vals
CS_BUCKET: openag-v1-images
# Add the top level dir to the py path so we can pick up the submodule.
PYTHONPATH: /app