Skip to content

Commit 26825d5

Browse files
committed
Increase lambda memory in production
1 parent 54bdc5b commit 26825d5

File tree

1 file changed

+40
-38
lines changed

1 file changed

+40
-38
lines changed

vapor.yml

+40-38
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
11
id: 34225
22
name: OpnForm
33
ignore:
4-
- storage/clockwork
5-
- storage/logs
6-
- client
4+
- storage/clockwork
5+
- storage/logs
6+
- client
77
environments:
8-
api-production:
9-
warm: 5
10-
memory: 1024
11-
cli-memory: 512
12-
cli-timeout: 900
13-
runtime: 'php-8.2:al2-arm'
14-
storage: opnforms-prod
15-
database: OpnForm
16-
domain: api.opnform.com
17-
build:
18-
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
19-
- 'php artisan event:cache'
20-
- 'php artisan disposable:update'
21-
deploy:
22-
- 'php artisan migrate --force'
23-
firewall:
24-
rate-limit: 1000
25-
timeout: 60
26-
api-staging:
27-
memory: 1024
28-
cli-memory: 512
29-
cli-timeout: 900
30-
runtime: 'php-8.2:al2-arm'
31-
storage: opnforms-staging
32-
database: OpnForm
33-
domain: api.stg.opnform.com
34-
build:
35-
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
36-
- 'php artisan event:cache'
37-
- 'php artisan disposable:update'
38-
deploy:
39-
- 'php artisan migrate --force'
40-
firewall:
41-
rate-limit: 1000
42-
timeout: 60
8+
api-production:
9+
warm: 5
10+
memory: 2048
11+
cli-memory: 2048
12+
cli-timeout: 900
13+
queue-memory: 2048
14+
queue-timeout: 900
15+
runtime: 'php-8.2:al2-arm'
16+
storage: opnforms-prod
17+
database: OpnForm
18+
domain: api.opnform.com
19+
build:
20+
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
21+
- 'php artisan event:cache'
22+
- 'php artisan disposable:update'
23+
deploy:
24+
- 'php artisan migrate --force'
25+
firewall:
26+
rate-limit: 1000
27+
timeout: 60
28+
api-staging:
29+
memory: 1024
30+
cli-memory: 512
31+
cli-timeout: 900
32+
runtime: 'php-8.2:al2-arm'
33+
storage: opnforms-staging
34+
database: OpnForm
35+
domain: api.stg.opnform.com
36+
build:
37+
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
38+
- 'php artisan event:cache'
39+
- 'php artisan disposable:update'
40+
deploy:
41+
- 'php artisan migrate --force'
42+
firewall:
43+
rate-limit: 1000
44+
timeout: 60

0 commit comments

Comments
 (0)