-
Notifications
You must be signed in to change notification settings - Fork 631
/
app.yaml
executable file
·48 lines (38 loc) · 959 Bytes
/
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
runtime: python310
service: default
#F1: 384MB/600MHz/automatic_scaling
#F2: 768MB/1.2GHz/automatic_scaling
#F4: 1536MB/2.4GHz/automatic_scaling
#F4_1G: 3072MB/2.4GHz/automatic_scaling
instance_class: F1
automatic_scaling:
max_instances: 2
min_instances: 0
max_idle_instances: 1
min_idle_instances: 0
app_engine_apis: true
entrypoint: gunicorn -b :$PORT -w 2 main:app
inbound_services:
- mail
- mail_bounce
env_variables:
KE_TEMP_DIR: "/tmp"
DATABASE_URL: "datastore"
handlers:
- url: /robots.txt
static_files: application/static/robots.txt
upload: application/static/robots.txt
- url: /favicon.ico
static_files: application/static/favicon.ico
upload: application/static/favicon.ico
mime_type: image/x-icon
- url: /static
static_dir: application/static
- url: /images
static_dir: application/images
- url: /recipes
static_dir: application/recipes
- url: /.*
secure: always
redirect_http_response_code: 301
script: auto