Clean AWS dependencies on prod
This commit is contained in:
parent
2618c24293
commit
39b8df5eed
|
|
@ -38,11 +38,11 @@
|
|||
"spatie/laravel-sluggable": "*",
|
||||
"stevebauman/purify": "*",
|
||||
"tymon/jwt-auth": "*",
|
||||
"vinkla/hashids": "*"
|
||||
"vinkla/hashids": "*",
|
||||
"fakerphp/faker": "^1.23"
|
||||
},
|
||||
"require-dev": {
|
||||
"barryvdh/laravel-ide-helper": "^3.0.0",
|
||||
"fakerphp/faker": "^1.23",
|
||||
"laravel/dusk": "^8.2.0",
|
||||
"laravel/pint": "^1.13",
|
||||
"laravel/sail": "^1.26",
|
||||
|
|
@ -74,6 +74,17 @@
|
|||
},
|
||||
"google/apiclient-services": [
|
||||
"Sheets"
|
||||
],
|
||||
"aws/aws-sdk-php": [
|
||||
"CloudWatch",
|
||||
"CloudWatchLogs",
|
||||
"DynamoDb",
|
||||
"Iam",
|
||||
"Lambda",
|
||||
"S3",
|
||||
"Sqs",
|
||||
"Ses",
|
||||
"Ssm"
|
||||
]
|
||||
},
|
||||
"autoload": {
|
||||
|
|
@ -94,7 +105,10 @@
|
|||
"minimum-stability": "dev",
|
||||
"prefer-stable": true,
|
||||
"scripts": {
|
||||
"pre-autoload-dump": "Google\\Task\\Composer::cleanup",
|
||||
"pre-autoload-dump": [
|
||||
"Google\\Task\\Composer::cleanup",
|
||||
"Aws\\Script\\Composer\\Composer::removeUnusedServices"
|
||||
],
|
||||
"post-autoload-dump": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
|
||||
"@php artisan package:discover --ansi"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
23
vapor.yml
23
vapor.yml
|
|
@ -4,6 +4,9 @@ ignore:
|
|||
- storage/clockwork
|
||||
- storage/logs
|
||||
- client
|
||||
- .git
|
||||
- integrations
|
||||
- docker
|
||||
environments:
|
||||
api-production:
|
||||
warm: 5
|
||||
|
|
@ -12,16 +15,16 @@ environments:
|
|||
cli-timeout: 900
|
||||
queue-memory: 2048
|
||||
queue-timeout: 900
|
||||
runtime: 'php-8.2:al2-arm'
|
||||
runtime: "php-8.2:al2-arm"
|
||||
storage: opnforms-prod
|
||||
database: OpnForm
|
||||
domain: api.opnform.com
|
||||
build:
|
||||
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
|
||||
- 'php artisan event:cache'
|
||||
- 'php artisan disposable:update'
|
||||
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
|
||||
- "php artisan event:cache"
|
||||
- "php artisan disposable:update"
|
||||
deploy:
|
||||
- 'php artisan migrate --force'
|
||||
- "php artisan migrate --force"
|
||||
firewall:
|
||||
rate-limit: 1000
|
||||
timeout: 60
|
||||
|
|
@ -29,16 +32,16 @@ environments:
|
|||
memory: 1024
|
||||
cli-memory: 512
|
||||
cli-timeout: 900
|
||||
runtime: 'php-8.2:al2-arm'
|
||||
runtime: "php-8.2:al2-arm"
|
||||
storage: opnforms-staging
|
||||
database: OpnForm
|
||||
domain: api.stg.opnform.com
|
||||
build:
|
||||
- 'COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev'
|
||||
- 'php artisan event:cache'
|
||||
- 'php artisan disposable:update'
|
||||
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
|
||||
- "php artisan event:cache"
|
||||
- "php artisan disposable:update"
|
||||
deploy:
|
||||
- 'php artisan migrate --force'
|
||||
- "php artisan migrate --force"
|
||||
firewall:
|
||||
rate-limit: 1000
|
||||
timeout: 60
|
||||
|
|
|
|||
Loading…
Reference in New Issue