forked from ScienceCommons/curate_science
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
51 lines (50 loc) · 1.44 KB
/
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
# [START django_app]
runtime: python37
entrypoint: gunicorn --bind :$PORT curate_science.wsgi:application --log-level debug
automatic_scaling:
min_instances: 1
handlers:
- url: /favicon.ico
static_files: sitestatic/favicon.ico
upload: sitestatic/favicon\.ico
secure: always
redirect_http_response_code: 301
- url: /favicon-16x16.png
static_files: sitestatic/favicon-16x16.png
upload: sitestatic/favicon-16x16\.png
secure: always
redirect_http_response_code: 301
- url: /favicon-32x32.png
static_files: sitestatic/favicon-32x32.png
upload: sitestatic/favicon-32x32\.png
secure: always
redirect_http_response_code: 301
- url: /favicon-96x96.png
static_files: sitestatic/favicon-96x96.ico
upload: sitestatic/favicon-96x96\.ico
secure: always
redirect_http_response_code: 301
- url: /sitestatic
static_dir: sitestatic
secure: always
redirect_http_response_code: 301
- url: /static
static_dir: static
secure: always
redirect_http_response_code: 301
- url: /dist
static_dir: dist
secure: always
redirect_http_response_code: 301
- url: /.*
script: auto
secure: always
redirect_http_response_code: 301
# Only pure Python libraries can be vendored
# Python libraries that use C extensions can
# only be included if they are part of the App Engine SDK
# Using Third Party Libraries: https://cloud.google.com/appengine/docs/python/tools/using-libraries-python-27
#libraries:
#- name: MySQLdb
# version: 1.2.5
# [END django_app]