-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapi.yaml
58 lines (48 loc) · 1.19 KB
/
api.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
49
50
51
52
53
54
55
56
57
58
# CODEBASE INFO
# Last pushed to master branch: 2016-10-31
# Last change to master branch: Revert to normal functioning
# Last pushed to dev branch: ?
# Last change to dev branch: ?
#
# DEPLOYMENT INFO
# Last deployed dev version: ?
# Last deployed prod version: 2016-10-31
# command: gcloud app deploy api.yaml
# args:
# --project vertnet-portal # Optional, no need if gcloud is configured to use this project
# --version prod|dev # Indicates version to use. If 'Prod', --promote flag should be used
# --promote # Optional, removes the version id from the deployment URL. Skip for testing and/or dev version
#
# TODO
# * Docs
service: api-geospatial
runtime: python27
threadsafe: true
api_version: 1
instance_class: B2
basic_scaling:
max_instances: 4
idle_timeout: 5m
handlers:
# # UI
# - url: /explorer/static
# static_dir: geospatial/explorer/static
# Main app
- url: /.*
script: api.app
# # Error handler - uncomment for shutting the API down
#- url: /.*
# script: error.error_handler
libraries:
- name: pycrypto
version: "2.3"
- name: jinja2
version: "2.6"
- name: markupsafe
version: "0.15"
- name: webapp2
version: latest
skip_files:
- ^examples$
- ^paper$
- ^(.*/)?.*\.py[co]$