Skip to content

Instantly share code, notes, and snippets.

@yota345
Last active March 4, 2017 19:41
Show Gist options
  • Save yota345/9d665461beda2ae1ffdc5092ff5c32db to your computer and use it in GitHub Desktop.
Save yota345/9d665461beda2ae1ffdc5092ff5c32db to your computer and use it in GitHub Desktop.
GAE sample app.yaml
application: your app id
service: default
version: 1
runtime: go
api_version: go1
default_expiration: "1d"
instance_class: F1
env_variables:
MY_VAR: 'my value'
handlers:
- url: /
mime_type: text/html
static_files: public/index.html
upload: public/index.html
- url: /.*
script: _go_app
resources:
cpu: 2
memory_gb: 1.3
disk_size_gb: 10
health_check:
enable_health_check: True
check_interval_sec: 5
timeout_sec: 4
unhealthy_threshold: 2
healthy_threshold: 2
automatic_scaling:
min_idle_instances: 0
max_idle_instances: automatic
min_pending_latency: 30ms
max_pending_latency: automatic
max_concurrent_requests: 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment