reddit-pub/config.dhall

17 lines
522 B
Plaintext
Raw Normal View History

2021-10-25 19:04:24 +03:00
let config = ./dhall/package.dhall
in { amqp = config.AMQP::{
, vhost = "reddit"
, username = env:AMQP_USER as Text ? "reddit_pub"
, password = env:AMQP_PASS as Text ? "tester"
, host = env:AMQP_HOST as Text ? "127.0.0.1"
-- , host = "10.233.5.2"
}
, fetchers =
[ config.Fetcher::{ subreddit = "haskell" }
, config.Fetcher::{ subreddit = "scala" }
, config.Fetcher::{ subreddit = "pics", entries = 150 }
]
}
: config.Type