Skip to content

Latest commit

 

History

History
28 lines (26 loc) · 758 Bytes

README.md

File metadata and controls

28 lines (26 loc) · 758 Bytes

reddit-auto-reply

reddit-auto-reply python docker bot

version: "3.8"

services:
  reddit-auto-reply:
    image: ghcr.io/xstar97/reddit-auto-reply:latest
    ports:
      - "8080:3000"
    environment:
      - BOT_STATE=production
      - REDIS_HOST=localhost
      - REDIS_PASSWORD=password
      - REDIS_PORT=6379
      - CLIENT_ID=reddit_client_id
      - CLIENT_SECRET=reddit_client_secret
      - USERNAME=REDDIT_USER
      - PASSWORD=REDDIT_PASS
      - USER_AGENT=linux:script:v0.0.1 (by u/USER)
      - SUBREDDITS=subreddit1,subreddit2 #delim by ,
      - TRIGGER_WORDS=word1,word2 #delim by ,
      - COMMENT_WAIT_SECONDS=10
      - EXCLUDE_USERS=user1,user2 #delim by ,
      - COMMENT_TEXT="Hello world!"
    restart: unless-stopped