-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.example.yaml
More file actions
34 lines (29 loc) · 1.35 KB
/
app.example.yaml
File metadata and controls
34 lines (29 loc) · 1.35 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
# https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml#intro
service: default
runtime: custom
env: flex
manual_scaling:
instances: 1 # important as dekart designed to work on single instance
resources:
memory_gb: 2.0 # recommended to handle up to 1M points
env_variables:
DEKART_LOG_DEBUG: "1"
DEKART_POSTGRES_DB: "dekart"
DEKART_POSTGRES_USER: "postgres"
DEKART_POSTGRES_PASSWORD: "dekart"
DEKART_POSTGRES_PORT: "5432"
# see https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible
DEKART_POSTGRES_HOST: "172.17.0.1"
DEKART_CLOUD_STORAGE_BUCKET: "$BUCKET"
DEKART_BIGQUERY_PROJECT_ID: "$PROJECT_ID"
DEKART_MAPBOX_TOKEN: "$MAPBOX_TOKEN"
DEKART_IAP_JWT_AUD: "$DEKART_IAP_JWT_AUD"
DEKART_REQUIRE_IAP: "1"
DEKART_UX_DATA_DOCUMENTATION: "https://dekart.xyz/docs/about/playground/"
DEKART_UX_HOMEPAGE: "https://dekart.xyz/"
DEKART_UX_ACCESS_ERROR_INFO_HTML: '<a href="https://cloud.dekart.xyz/" >⚙️ Setup access to private dataset</a>'
DEKART_HTML_CUSTOM_CODE: '<script async defer data-domain="play.dekart.xyz" src="https://plausible.io/js/plausible.js"></script>'
DEKART_BIGQUERY_MAX_BYTES_BILLED: "53687091200"
beta_settings:
# see https://cloud.google.com/sql/docs/mysql/connect-app-engine-flexible
cloud_sql_instances: "$PROJECT_ID:europe-west1:$DB_INSTANCE_NAME=tcp:5432"