Scale automatically in production
This commit is contained in:
parent
21ce9c50cf
commit
8cab65a4f6
|
@ -19,12 +19,14 @@ deploy:
|
|||
skip_cleanup: true
|
||||
keyfile: service-account-staging.json
|
||||
project: unpkg-staging
|
||||
config: app-staging.yaml
|
||||
on:
|
||||
branch: gae-staging
|
||||
- provider: gae
|
||||
skip_cleanup: true
|
||||
keyfile: service-account.json
|
||||
project: unpkg-gcp
|
||||
config: app.yaml
|
||||
on:
|
||||
branch: gae
|
||||
- provider: script
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
runtime: nodejs
|
||||
env: flex
|
||||
|
||||
resources:
|
||||
cpu: 1
|
||||
memory_gb: 0.5
|
||||
disk_size_gb: 10
|
||||
|
||||
manual_scaling:
|
||||
instances: 1
|
Loading…
Reference in New Issue