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