From ebf2ba61c2dd64be1dce46097c16f40e60c5b194 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 7 Dec 2022 16:51:56 +0700 Subject: [PATCH] add redditbot --- .gitignore | 1 + docker-compose_production.yml | 8 ++++++++ env/redditbot.sample.env | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 env/redditbot.sample.env diff --git a/.gitignore b/.gitignore index e9bbc47..eccf7d0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ postgres.env tubearchivist.env umami.env gitea.env +redditbot.env # example hooks docker-hook.json diff --git a/docker-compose_production.yml b/docker-compose_production.yml index e3ca510..6dad8e5 100644 --- a/docker-compose_production.yml +++ b/docker-compose_production.yml @@ -140,6 +140,14 @@ services: - ./volume/gitea/db:/var/lib/postgresql/data networks: - gitea_network + redditbot: + container_name: redditbot + restart: unless-stopped + image: bbilly1/redditbot + volumes: + - ./volume/redditbot/data:/data + env_file: + - ./env/redditbot.env networks: front: diff --git a/env/redditbot.sample.env b/env/redditbot.sample.env new file mode 100644 index 0000000..d9e94d0 --- /dev/null +++ b/env/redditbot.sample.env @@ -0,0 +1,3 @@ +SUB_REDDIT=r/TubeArchivist +KEYWORDS=tubearchivist, tube archivist +DISCORD_HOOK=https://discord.com/api/webhooks/00000000000000/aaaaaaaaa \ No newline at end of file