Created
November 1, 2019 22:48
-
-
Save mstaack/dbddc87972bca09acdf3a4812915496a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: bref-demo-lumen | |
provider: | |
name: aws | |
region: eu-central-1 | |
runtime: provided | |
environment: | |
# Laravel environment variables | |
APP_STORAGE: '/tmp' | |
plugins: | |
- ./vendor/bref/bref | |
functions: | |
website: | |
handler: public/index.php | |
timeout: 28 # in seconds (API Gateway has a timeout of 29 seconds) | |
layers: | |
- ${bref:layer.php-73-fpm} | |
events: | |
- http: 'ANY /' | |
- http: 'ANY /{proxy+}' | |
artisan: | |
handler: artisan | |
timeout: 120 # in seconds | |
layers: | |
- ${bref:layer.php-73} # PHP | |
- ${bref:layer.console} # The "console" layer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment