-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.yaml
38 lines (33 loc) · 992 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
service: <service name> # speficy service name; 'default' if not specified
runtime: custom
env: flex
automatic_scaling:
min_num_instances: 1
max_num_instances: 2
resources:
cpu: 1
memory_gb: 1
disk_size_gb: 10
liveness_check:
path: /api/health
timeout_sec: 3
check_interval_sec: 30
failure_threshold: 3
initial_delay_sec: 300
readiness_check:
path: /api/health
timeout_sec: 3
check_interval_sec: 5
failure_threshold: 3
success_threshold: 1
app_start_timeout_sec: 300
env_variables:
MB_JETTY_PORT: 8080
MB_DB_TYPE: postgres
MB_DB_DBNAME: <db name> # speficy DB name
MB_DB_PORT: 5432
MB_DB_USER: <db user> # specify DB user
MB_DB_PASS: <db pass> # specify DB password
MB_DB_HOST: 127.0.0.1
MB_SQL_INSTANCE: <db instance name> # specify DB instance name; ref. https://cloud.google.com/sql/docs/postgres/instance-info
JAVA_TIMEZONE: <tz name> # speficy timezone for reports; ref. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones