mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 15:46:52 +03:00
Remove the Bref recipe
We're moving away from Flex recipes as this is too unpractical to maintain. See https://github.com/brefphp/bref/pull/1934
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"copy-from-recipe": {
|
||||
"serverless.yaml": "serverless.yml"
|
||||
},
|
||||
"gitignore": [
|
||||
"/.serverless/"
|
||||
]
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
* <fg=blue>Read</> the full documentation to properly configure your
|
||||
Symfony application at <comment>https://bref.sh/docs/frameworks/symfony.html</>
|
||||
|
||||
* Bref documentation: <comment>https://bref.sh/docs/</>
|
||||
@@ -1,47 +0,0 @@
|
||||
# Read the documentation at https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/
|
||||
service: symfony
|
||||
|
||||
provider:
|
||||
name: aws
|
||||
# The AWS region in which to deploy (us-east-1 is the default)
|
||||
region: us-east-1
|
||||
# The stage of the application, e.g. dev, production, staging… ('dev' is the default)
|
||||
stage: dev
|
||||
runtime: provided.al2
|
||||
environment:
|
||||
# Symfony environment variables
|
||||
APP_ENV: prod
|
||||
|
||||
plugins:
|
||||
- ./vendor/bref/bref
|
||||
|
||||
functions:
|
||||
# This function runs the Symfony website/API
|
||||
web:
|
||||
handler: public/index.php
|
||||
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds)
|
||||
layers:
|
||||
- ${bref:layer.php-81-fpm}
|
||||
events:
|
||||
- httpApi: '*'
|
||||
# This function let us run console commands in Lambda
|
||||
console:
|
||||
handler: bin/console
|
||||
timeout: 120 # in seconds
|
||||
layers:
|
||||
- ${bref:layer.php-81} # PHP
|
||||
- ${bref:layer.console} # The "console" layer
|
||||
|
||||
package:
|
||||
patterns:
|
||||
# Excluded files and folders for deployment
|
||||
- '!assets/**'
|
||||
- '!node_modules/**'
|
||||
- '!public/build/**'
|
||||
- '!tests/**'
|
||||
- '!var/**'
|
||||
# If you want to include files and folders that are part of excluded folders,
|
||||
# add them at the end
|
||||
- 'var/cache/prod/**'
|
||||
- 'public/build/entrypoints.json'
|
||||
- 'public/build/manifest.json'
|
||||
Reference in New Issue
Block a user