-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
44 lines (37 loc) · 1.17 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
runtime: python38 # or another supported version for standard environment
#runtime: python # flex
#runtime_config: # flex
# python_version: 3 # flex
#env: flex
entrypoint: gunicorn -b :$PORT main:app --timeout 30000
instance_class: F2 # F4は1GB (asari用)
#resources: # flex
# cpu: 1 # flex
# memory_gb: 1 # flex
env_variables:
#BUCKET_NAME: "word2vec_id"
DICT_ALL_COUNT: "all_1-200-000_word_count_sudachi.pickle"
WORD2VEC: "mecab_word2vec_dict_100d_9split/mecab_word2vec_dict_100d_9-"
MLASK_EMOTION_DICTIONARY: "mlask_emotion_dictionary.pickle"
ANALYZED_RETWEET_DATA_DIR: "analyzed_retweet_data"
readiness_check:
app_start_timeout_sec: 1200
# Lock instances to 1
#manual_scaling:
# instances: 1
automatic_scaling:
#min_num_instances: 1 # flex
#max_num_instances: 2
min_instances: 1 # standard
max_instances: 2
max_idle_instances: 1
# secret token
includes:
- secret.yaml
# for internal IP address using cloud SQL
#vpc_access_connector:
# name: "projects/crover-twitter/locations/us-central1/connectors/crover-twitter-connector"
handlers:
- url: /favicon\.ico
static_files: favicon.ico
upload: favicon\.ico