# "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 timeout: 60 environment: POCKET_BASE_PW: ${env:POCKET_BASE_PW} POCKET_BASE_USER: ${env:POCKET_BASE_USER} BLUE_SKY_API_KEY: ${env:BLUE_SKY_API_KEY} BLUE_SKY_USERNAME: ${env:BLUE_SKY_USERNAME} POCKET_BASE_HOST: ${env:POCKET_BASE_HOST} MASTODON_BASE_URL: ${env:MASTODON_BASE_URL} MASTODON_ACCOUNT_ID: ${env:MASTODON_ACCOUNT_ID} PIXELFED_BASE_URL: ${env:PIXELFED_BASE_URL} PIXELFED_ACCOUNT_ID: ${env:PIXELFED_ACCOUNT_ID} NOSTR_FETCHER_NPUB: ${env:NOSTR_FETCHER_NPUB} NOSTR_ID: ${env:NOSTR_ID} NOSTR_RELAY: ${env:NOSTR_RELAY} functions: nostr: handler: src/nostr.run events: - schedule: rate(1 hour) pixelfed: handler: src/pixelfed.run events: - schedule: rate(1 hour) bluesky: handler: src/bluesky.run events: - schedule: rate(1 hour) mastodon: handler: src/mastodon.run events: - schedule: rate(1 hour)