Created
August 8, 2020 08:21
-
-
Save ismail1432/4bcd8b4c279f42aaede4a33e05ba9200 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: notifier-linkedin-api | |
provider: | |
name: aws | |
region: eu-west-3 | |
runtime: provided | |
environment: # env vars | |
APP_ENV: prod | |
LINKEDIN_DSN: YOUR_DSN | |
plugins: | |
- ./vendor/bref/bref | |
functions: | |
website: | |
handler: public/index.php # bootstrap | |
layers: | |
- ${bref:layer.php-73-fpm} # https://bref.sh/docs/runtimes/index.html#usage | |
timeout: 28 # Timeout to stop the compute time | |
events: | |
- http: 'POST /contents' # Only POST to /contents are allowed | |
package: | |
exclude: | |
- 'tests/**' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment