A docker container to run github.com/qznc/hn_bot
2.5K
This is a containerized version of the qznc's hackernews bot used to post to /r/hackernews. The bot runs in a cron job every hour.
docker run \
--name=hn_bot \
-v <path to data>:<path inside container> \
-e praw_client_id=<client id> \
-e praw_client_secret=<client secret> \
-e praw_username=<username> \
-e praw_password=<password> \
-e database_file=<path> \
fletchto99/hn-bot
-v <path to data>:<path inside container>-e praw_client_id - The bot's client ID-e praw_client_secret - The bot's client ID-e praw_username - The bot's username on reddit-e praw_password - The bot's passwordFor more information see the praw documentation.
-e databsase_file - The path to the databse file (preferably mounted on a persistent volume)Content type
Image
Digest
Size
47 MB
Last updated
over 6 years ago
docker pull fletchto99/hn-bot