Scale automatically in production
This commit is contained in:
@ -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
|
||||
|
10
app-staging.yaml
Normal file
10
app-staging.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
runtime: nodejs
|
||||
env: flex
|
||||
|
||||
resources:
|
||||
cpu: 1
|
||||
memory_gb: 0.5
|
||||
disk_size_gb: 10
|
||||
|
||||
manual_scaling:
|
||||
instances: 1
|
Reference in New Issue
Block a user