-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.yaml
48 lines (42 loc) · 1.53 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
# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
runtime: python311
default_expiration: 0
#uncomment these lines if longer timeout (>10mins) needed
instance_class: B4
basic_scaling:
max_instances: 1
#instance_class: F4
#automatic_scaling:
# min_instances: 0
# max_instances: 1
# instance classes and free tier quotas (don't forget to adjust gunicorn's --workers flag):
# F1: 384MB / 600MHz - 28 free hours per day (default)
# F2: 768MB / 1.2GHz - 14 free hours per day
# F4: 1536MB / 2.4GHz - 7 free hours per day
# F4_1G: 3072MB / 2.4 GHz -
# B1: 384MB / 600MHz - 9 free hours per day
# B2: 768MB / 1.2GHz - 4:30 free hours per day (default)
# B4: 1536MB / 2.4GHz - 2:15 free hours per day
# B8: 3072MB / 4.8Ghz
# request timeout:
# F - 10 minutes
# B - 24 hours
app_engine_apis: true
env_variables:
CONFIG: gs://$PROJECT_ID/remarque/config.json
GIT_COMMIT: cc3220bb185d821d2deba14235ad099a3a11a294
LOG_LEVEL: DEBUG
PYTHONPATH: server
entrypoint: gunicorn -b :$PORT server:app --timeout 0 --workers 2