init project with pixelfed fetcher
This commit is contained in:
commit
cf01dea155
12 changed files with 929 additions and 0 deletions
20
serverless.yml
Normal file
20
serverless.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# "org" ensures this Service is used with the correct Serverless Framework Access Key.
|
||||
org: travisshears
|
||||
# "app" enables Serverless Framework Dashboard features and sharing them with other Services.
|
||||
app: micro-blog
|
||||
# "service" is the name of this project. This will also be added to your AWS resource names.
|
||||
service: micro-blog-fetchers
|
||||
|
||||
provider:
|
||||
name: aws
|
||||
runtime: nodejs20.x
|
||||
region: eu-central-1
|
||||
environment:
|
||||
POCKET_BASE_PW: ${env:POCKET_BASE_PW}
|
||||
POCKET_BASE_USER: ${env:POCKET_BASE_USER}
|
||||
|
||||
functions:
|
||||
pixelfed:
|
||||
handler: src/pixelfed.run
|
||||
events:
|
||||
- schedule: rate(1 hour)
|
||||
Loading…
Add table
Add a link
Reference in a new issue