forked from ocadotechnology/codeforlife-deploy-appengine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml.tmpl
53 lines (48 loc) · 2.17 KB
/
app.yaml.tmpl
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
42
43
44
45
46
47
48
49
50
51
52
53
runtime: python38
instance_class: F4
service: ${MODULE_NAME}
vpc_access_connector:
name: "projects/decent-digit-629/locations/europe-west1/connectors/cfl-connector"
handlers:
# This configures Google App Engine to serve the files in the app's static
# directory.
- url: /static
static_dir: static/
# This handler routes all requests not caught above to your main app. It is
# required when static routes are defined, but can be omitted (along with
# the entire handlers section) when there are no static files defined.
- url: /.*
script: auto
inbound_services:
- warmup
env_variables:
DJANGO_SETTINGS_MODULE: 'django_site.settings'
HTTPS: 'on'
MODULE_NAME: '${MODULE_NAME}'
CACHE_PREFIX: '${CACHE_PREFIX}'
DATABASE_NAME: '${DATABASE_NAME}'
DATABASE_HOST: '${DATABASE_HOST}'
RECAPTCHA_PRIVATE_KEY: '${RECAPTCHA_PRIVATE_KEY}'
RECAPTCHA_PUBLIC_KEY: '${RECAPTCHA_PUBLIC_KEY}'
DJANGO_PORTAL_CONTACT_FORM_EMAIL: '${DJANGO_PORTAL_CONTACT_FORM_EMAIL}'
DOTMAILER_CREATE_CONTACT_URL: '${DOTMAILER_CREATE_CONTACT_URL}'
DOTMAILER_MAIN_ADDRESS_BOOK_URL: '${DOTMAILER_MAIN_ADDRESS_BOOK_URL}'
DOTMAILER_TEACHER_ADDRESS_BOOK_URL: '${DOTMAILER_TEACHER_ADDRESS_BOOK_URL}'
DOTMAILER_STUDENT_ADDRESS_BOOK_URL: '${DOTMAILER_STUDENT_ADDRESS_BOOK_URL}'
DOTMAILER_NO_ACCOUNT_ADDRESS_BOOK_URL: '${DOTMAILER_NO_ACCOUNT_ADDRESS_BOOK_URL}'
DOTMAILER_GET_USER_BY_EMAIL_URL: '${DOTMAILER_GET_USER_BY_EMAIL_URL}'
DOTMAILER_DELETE_USER_BY_ID_URL: '${DOTMAILER_DELETE_USER_BY_ID_URL}'
DOTMAILER_PUT_CONSENT_DATA_URL: '${DOTMAILER_PUT_CONSENT_DATA_URL}'
DOTMAILER_SEND_CAMPAIGN_URL: '${DOTMAILER_SEND_CAMPAIGN_URL}'
DOTMAILER_THANKS_FOR_STAYING_CAMPAIGN_ID: '${DOTMAILER_THANKS_FOR_STAYING_CAMPAIGN_ID}'
DOTMAILER_USER: '${DOTMAILER_USER}'
DOTMAILER_PASSWORD: '${DOTMAILER_PASSWORD}'
DOTMAILER_DEFAULT_PREFERENCES: '${DOTMAILER_DEFAULT_PREFERENCES}'
DOTDIGITAL_AUTH: '${DOTDIGITAL_AUTH}'
DJANGO_SECRET: '"${DJANGO_SECRET}"'
REDIS_IP: '${REDIS_IP}'
REDIS_PORT: '${REDIS_PORT}'
AWS_ACCESS_KEY_ID: '${AWS_ACCESS_KEY_ID}'
AWS_SECRET_ACCESS_KEY: '${AWS_SECRET_ACCESS_KEY}'
REACT_APP_KURONO_BADGES_URL: '${REACT_APP_KURONO_BADGES_URL}'
KUBECONFIG: 'kubeconfig.yaml'