This repository has been archived by the owner on Mar 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathexample_app.yaml
79 lines (67 loc) · 2.42 KB
/
example_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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
runtime: python38
handlers:
- url: /static
static_dir: static
secure: always
- url: /.*
script: auto
secure: always
env_variables:
# Replace all settings according to your local / qa / prod environment.
# OAuth settings.
GOOGLE_OAUTH_CONSUMER_KEY: ''
GOOGLE_OAUTH_CONSUMER_SECRET: ''
GITHUB_OAUTH_CONSUMER_KEY: ''
GITHUB_OAUTH_CONSUMER_SECRET: ''
# Site settings.
CSRF_SESSION_KEY: 'secret'
COOKIE_SECRET_KEY: 'secret'
# Database settings for local.
MYSQL_LOCAL_USER: 'root'
MYSQL_LOCAL_PASS: 'pass'
# Only specify the following if you are using a non-docker vcs-proxy.
# VCS_PROXY_LOCAL_URL: 'https://127.0.0.1:8088/'
# Enables connecting to the remote database using the cloud sql proxy.
# Proxy CloudSQL with
# ./cloud_sql_proxy -instances [MYSQL_CONNECTION_NAME]=tcp:3307
# USE_REMOTE_DB_THROUGH_CLOUDSQL_PROXY: FALSE
# CLOUDSQL_PORT: 3307
# CLOUDSQL_NAME: ''
# CLOUDSQL_PASS: ''
# Database settings for qa.
# QA_PROJECT_ID: '[PROJECT_ID]'
# MYSQL_QA_USER: ''
# MYSQL_QA_PASS: ''
# This should have the form: [PROJECT_ID]:[AREA]:[PROJECT_NAME]
# MYSQL_QA_CONNECTION_NAME: ''
# VCS_PROXY_QA_URL: ''
# Database settings for prod.
# PROD_PROJECT_ID: '[PROJECT_ID]'
# MYSQL_PROD_USER: ''
# MYSQL_PROD_PASS: ''
# This should have the form: [PROJECT_ID]:[AREA]:[PROJECT_NAME]
# MYSQL_PROD_CONNECTION_NAME: ''
# VCS_PROXY_PROD_URL: ''
# Admin emails separated by ','. This is required to make permanent changes to the database.
APPLICATION_ADMINS: '[email protected]'
# Restrict the login to administrators only.
RESTRICT_LOGIN: True
# Allow external registrations. Can be: 'INVITE_ONLY' (default), 'CLOSED' or 'OPEN'.
# REGISTRATION_MODE: 'INVITE_ONLY'
# Shows a warning as changes can only be stored permanently by admins.
# DEMO_MODE: False
# Show a "maintenance page".
# MAINTENANCE_MODE: False