forked from GoogleChrome/chromium-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.staging.yaml
50 lines (39 loc) · 1.15 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
38
39
40
41
42
43
44
45
46
47
48
49
50
# This GAE service contains most of the app, including all UI pages.
runtime: python311
service: default
instance_class: F4_1G
automatic_scaling:
min_idle_instances: 1
max_pending_latency: 0.2s
# Use a long HTTP cache expiration time for css and JS, but also
# include the GAE version number as a query string parameter so that on
# each deployment, users get new static files to match the new app version.
default_expiration: "10d"
# Set up VPC Access Connector for Redis.
vpc_access_connector:
name: projects/cr-status-staging/locations/us-central1/connectors/redis-connector
handlers:
# Static handlers ---------------------------------------------------------------
- url: /favicon\.ico
static_files: static/img/chromium-128.png
upload: static/img/chromium-128\.png
secure: always
- url: /robots\.txt
static_files: static/robots.txt
upload: static/robots\.txt
secure: always
- url: /static
static_dir: static
secure: always
- url: /.*
script: auto
secure: always
app_engine_apis: true
env_variables:
GAE_USE_SOCKETS_HTTPLIB : ''
# Redis envs
REDISHOST: '10.231.56.251'
REDISPORT: '6379'
inbound_services:
- mail
- mail_bounce