-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (29 loc) · 990 Bytes
/
Copy path.env.example
File metadata and controls
37 lines (29 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ENVIRONMENT
# development: uses LocalStack (AWS emulator)
# production: uses real AWS Kinesis
APP_ENV=development
# NEWS API
NEWSAPI_KEY=
# AWS
# Local dev: dummy values work fine with LocalStack
# Production (EC2): leave these blank - IAM role provides credentials automatically
AWS_ACCESS_KEY_ID=test
AWS_SECRET_ACCESS_KEY=test
AWS_REGION=us-east-1
# KINESIS
KINESIS_STREAM_NAME=news-api-stream
# SQS
SQS_DLQ_URL=http://localstack:4566/000000000000/aurora-analytics-dlq
SQS_LOGS_URL=http://localstack:4566/000000000000/aurora-analytics-logs
# Points boto3 at LocalStack instead of real AWS.
# Remove this line entirely for production.
KINESIS_ENDPOINT_URL=http://localstack:4566
# Ingestion settings
POLL_INTERVAL_SECONDS=60
# How far back to look on the very first poll. Defaults to POLL_INTERVAL_SECONDS.
# This is good for testing so we can seed data
# 86400 secs = 24 hours
LOOKBACK_SECONDS=86400
# NEWS_QUERY is not OPTIONAL on News API.
NEWS_QUERY=Bitcoin
NEWS_LANGUAGE=