Increase lambda memory in production
This commit is contained in:
parent
54bdc5bd02
commit
26825d5182
78
vapor.yml
78
vapor.yml
|
@ -1,42 +1,44 @@
|
||||||
id: 34225
|
id: 34225
|
||||||
name: OpnForm
|
name: OpnForm
|
||||||
ignore:
|
ignore:
|
||||||
- storage/clockwork
|
- storage/clockwork
|
||||||
- storage/logs
|
- storage/logs
|
||||||
- client
|
- client
|
||||||
environments:
|
environments:
|
||||||
api-production:
|
api-production:
|
||||||
warm: 5
|
warm: 5
|
||||||
memory: 1024
|
memory: 2048
|
||||||
cli-memory: 512
|
cli-memory: 2048
|
||||||
cli-timeout: 900
|
cli-timeout: 900
|
||||||
runtime: 'php-8.2:al2-arm'
|
queue-memory: 2048
|
||||||
storage: opnforms-prod
|
queue-timeout: 900
|
||||||
database: OpnForm
|
runtime: 'php-8.2:al2-arm'
|
||||||
domain: api.opnform.com
|
storage: opnforms-prod
|
||||||
build:
|
database: OpnForm
|
||||||
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
|
domain: api.opnform.com
|
||||||
- 'php artisan event:cache'
|
build:
|
||||||
- 'php artisan disposable:update'
|
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
|
||||||
deploy:
|
- 'php artisan event:cache'
|
||||||
- 'php artisan migrate --force'
|
- 'php artisan disposable:update'
|
||||||
firewall:
|
deploy:
|
||||||
rate-limit: 1000
|
- 'php artisan migrate --force'
|
||||||
timeout: 60
|
firewall:
|
||||||
api-staging:
|
rate-limit: 1000
|
||||||
memory: 1024
|
timeout: 60
|
||||||
cli-memory: 512
|
api-staging:
|
||||||
cli-timeout: 900
|
memory: 1024
|
||||||
runtime: 'php-8.2:al2-arm'
|
cli-memory: 512
|
||||||
storage: opnforms-staging
|
cli-timeout: 900
|
||||||
database: OpnForm
|
runtime: 'php-8.2:al2-arm'
|
||||||
domain: api.stg.opnform.com
|
storage: opnforms-staging
|
||||||
build:
|
database: OpnForm
|
||||||
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
|
domain: api.stg.opnform.com
|
||||||
- 'php artisan event:cache'
|
build:
|
||||||
- 'php artisan disposable:update'
|
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
|
||||||
deploy:
|
- 'php artisan event:cache'
|
||||||
- 'php artisan migrate --force'
|
- 'php artisan disposable:update'
|
||||||
firewall:
|
deploy:
|
||||||
rate-limit: 1000
|
- 'php artisan migrate --force'
|
||||||
timeout: 60
|
firewall:
|
||||||
|
rate-limit: 1000
|
||||||
|
timeout: 60
|
||||||
|
|
Loading…
Reference in New Issue