blob: d7b84168bf4379b4693367fbb7539d989c073ebb [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001# Copyright 2019 The Chromium Authors. All rights reserved.
Adrià Vilanova Martínez2d5457a2022-01-13 13:25:39 +01002# Use of this source code is governed by a BSD-style
Copybara854996b2021-09-07 19:36:02 +00003# license that can be found in the LICENSE file or at
4# https://developers.google.com/open-source/licenses/bsd
5
6runtime: python27
7api_version: 1
Adrià Vilanova Martínez515639b2021-07-06 16:43:59 +02008threadsafe: yes
Copybara854996b2021-09-07 19:36:02 +00009
10default_expiration: "10d"
11
Adrià Vilanova Martínez515639b2021-07-06 16:43:59 +020012instance_class: F1
Copybara854996b2021-09-07 19:36:02 +000013automatic_scaling:
Adrià Vilanova Martínez515639b2021-07-06 16:43:59 +020014 min_pending_latency: 15000ms
15 max_pending_latency: 15000ms
Adrià Vilanova Martínezf779fa02022-04-03 21:01:25 +020016 min_instances: 0
Adrià Vilanova Martínez515639b2021-07-06 16:43:59 +020017 max_instances: 1
18 max_concurrent_requests: 80
Copybara854996b2021-09-07 19:36:02 +000019
20handlers:
21- url: /_ah/api/.*
22 script: monorailapp.endpoints
23
24- url: /robots.txt
25 static_files: static/robots.txt
26 upload: static/robots.txt
27 expiration: "10m"
28
29- url: /database-maintenance
30 static_files: static/database-maintenance.html
31 upload: static/database-maintenance.html
32
33- url: /static/dist
34 static_dir: static/dist
35 mime_type: application/javascript
36 secure: always
37 http_headers:
38 Access-Control-Allow-Origin: '*'
39
40- url: /static/js
41 static_dir: static/js
42 mime_type: application/javascript
43 secure: always
44 http_headers:
45 Access-Control-Allow-Origin: '*'
46
47- url: /static
48 static_dir: static
49
50- url: /_ah/mail/.+
51 script: monorailapp.app
52 login: admin
53
54- url: /_ah/warmup
55 script: monorailapp.app
56 login: admin
57
58- url: /.*
59 script: monorailapp.app
60 secure: always
61
Adrià Vilanova Martínez515639b2021-07-06 16:43:59 +020062# From api service:
63- url: /prpc/.*
64 script: monorailapp.app
65 secure: always
66
67# From besearch service
68- url: /_backend/.*
69 script: monorailapp.app
70
71# From latency-insensitive service
72- url: /_task/.*
73 script: monorailapp.app
74 login: admin
75
76- url: /_cron/.*
77 script: monorailapp.app
78 login: admin
79
Copybara854996b2021-09-07 19:36:02 +000080inbound_services:
81- mail
82- mail_bounce
Copybara854996b2021-09-07 19:36:02 +000083- warmup
Copybara854996b2021-09-07 19:36:02 +000084
85libraries:
86- name: endpoints
Adrià Vilanova Martínez2d5457a2022-01-13 13:25:39 +010087 version: "1.0"
Copybara854996b2021-09-07 19:36:02 +000088- name: grpcio
Adrià Vilanova Martínez2d5457a2022-01-13 13:25:39 +010089 version: "1.0.0"
Adrià Vilanova Martínezac4a6442022-05-15 19:05:13 +020090- name: markupsafe
91 version: "0.23"
Copybara854996b2021-09-07 19:36:02 +000092- name: MySQLdb
93 version: "latest"
94- name: ssl # needed for google.auth.transport and GAE_USE_SOCKETS_HTTPLIB
95 version: "2.7.11"
96
97includes:
98- gae_ts_mon
99
Copybara854996b2021-09-07 19:36:02 +0000100skip_files:
101- ^(.*/)?#.*#$
102- ^(.*/)?.*~$
103- ^(.*/)?.*\.py[co]$
104- ^(.*/)?.*/RCS/.*$
105- ^(.*/)?\..*$
106- node_modules/
107- venv/