-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.staging.yaml
37 lines (35 loc) · 1.35 KB
/
app.staging.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
36
37
runtime: python37
env: standard
entrypoint: gunicorn cidc_api.app:app
instance_class: F2
# Same config as app.prod.yaml, except we permit scaling to 0 instances.
automatic_scaling:
max_concurrent_requests: 50
target_cpu_utilization: .95
handlers:
# Force HTTPS on all requests
- url: /.*
script: auto
secure: always
redirect_http_response_code: 301
env_variables:
ENV: "staging"
ALLOWED_CLIENT_URL: "https://stagingportal.cimac-network.org"
AUTH0_DOMAIN: "cidc-test.auth0.com"
AUTH0_CLIENT_ID: "Yjlt8LT5vXFJw1Z8m8eaB5aZO26uPyeD"
CLOUD_SQL_INSTANCE_NAME: "cidc-dfci-staging:us-central1:cidc-postgresql-staging"
CLOUD_SQL_DB_USER: "cidcuser"
CLOUD_SQL_DB_NAME: "cidc-staging"
GOOGLE_ACL_DATA_BUCKET: "cidc-data-staging-acl"
GOOGLE_DATA_BUCKET: "cidc-data-staging"
GOOGLE_SECRETS_BUCKET: "cidc-secrets-staging"
GOOGLE_INTAKE_BUCKET: "cidc-intake-staging"
GOOGLE_UPLOAD_BUCKET: "cidc-uploads-staging"
GOOGLE_EPHEMERAL_BUCKET: "cidc-ephemeral-staging"
GOOGLE_UPLOAD_TOPIC: "uploads"
GOOGLE_EMAILS_TOPIC: "emails"
GOOGLE_PATIENT_SAMPLE_TOPIC: "patient_sample_update"
GOOGLE_ARTIFACT_UPLOAD_TOPIC: "artifact_upload"
GOOGLE_GRANT_DOWNLOAD_PERMISSIONS_TOPIC: "grant_download_perms"
GOOGLE_UPLOAD_ROLE: "projects/cidc-dfci-staging/roles/tempObjectUploader"
GOOGLE_LISTER_ROLE: "projects/cidc-dfci-staging/roles/CustomRoleLister"