Scale automatically in production
This commit is contained in:
parent
21ce9c50cf
commit
8cab65a4f6
|
@ -19,12 +19,14 @@ deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
keyfile: service-account-staging.json
|
keyfile: service-account-staging.json
|
||||||
project: unpkg-staging
|
project: unpkg-staging
|
||||||
|
config: app-staging.yaml
|
||||||
on:
|
on:
|
||||||
branch: gae-staging
|
branch: gae-staging
|
||||||
- provider: gae
|
- provider: gae
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
keyfile: service-account.json
|
keyfile: service-account.json
|
||||||
project: unpkg-gcp
|
project: unpkg-gcp
|
||||||
|
config: app.yaml
|
||||||
on:
|
on:
|
||||||
branch: gae
|
branch: gae
|
||||||
- provider: script
|
- 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