blob: 9cc0be0ba3f72694e202605554f83792f29ff264 [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file or at
# https://developers.google.com/open-source/licenses/bsd
runtime: python27
api_version: 1
threadsafe: yes
default_expiration: "10d"
instance_class: F1
automatic_scaling:
min_pending_latency: 15000ms
max_pending_latency: 15000ms
min_instances: 1
max_instances: 1
max_concurrent_requests: 80
handlers:
- url: /_ah/api/.*
script: monorailapp.endpoints
- url: /robots.txt
static_files: static/robots.txt
upload: static/robots.txt
expiration: "10m"
- url: /database-maintenance
static_files: static/database-maintenance.html
upload: static/database-maintenance.html
- url: /static/dist
static_dir: static/dist
mime_type: application/javascript
secure: always
http_headers:
Access-Control-Allow-Origin: '*'
- url: /static/js
static_dir: static/js
mime_type: application/javascript
secure: always
http_headers:
Access-Control-Allow-Origin: '*'
- url: /static
static_dir: static
- url: /_ah/mail/.+
script: monorailapp.app
login: admin
- url: /_ah/warmup
script: monorailapp.app
login: admin
- url: /.*
script: monorailapp.app
secure: always
# From api service:
- url: /prpc/.*
script: monorailapp.app
secure: always
# From besearch service
- url: /_backend/.*
script: monorailapp.app
# From latency-insensitive service
- url: /_task/.*
script: monorailapp.app
login: admin
- url: /_cron/.*
script: monorailapp.app
login: admin
inbound_services:
- mail
- mail_bounce
- warmup
libraries:
- name: endpoints
version: "1.0"
- name: grpcio
version: "1.0.0"
- name: MySQLdb
version: "latest"
- name: ssl # needed for google.auth.transport and GAE_USE_SOCKETS_HTTPLIB
version: "2.7.11"
includes:
- gae_ts_mon
env_variables:
GAE_USE_SOCKETS_HTTPLIB : ''
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- node_modules/
- venv/
- third_party/tools/