reddit-pub/config.dhall

19 lines
635 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"
2022-02-10 22:34:55 +02:00
, password = config.Password.Type.Password (env:AMQP_PASS as Text ? "tester")
2021-10-25 19:04:24 +03:00
, host = env:AMQP_HOST as Text ? "127.0.0.1"
-- , host = "10.233.5.2"
}
, fetchers =
[ config.Fetcher::{ subreddit = "haskell" }
, config.Fetcher::{ subreddit = "scala" }
2021-10-27 23:41:05 +03:00
, config.Fetcher::{ subreddit = "all" }
2021-10-25 19:04:24 +03:00
, config.Fetcher::{ subreddit = "pics", entries = 150 }
]
2021-10-27 23:21:09 +03:00
, sqlite = "reddit.sqlite"
2021-10-25 19:04:24 +03:00
}
: config.Type