add bluesky bot deployment file

This commit is contained in:
Denis-Cosmin Nutiu 2025-01-01 16:19:03 +02:00
parent 23f6840820
commit 2b1750cae2
2 changed files with 25 additions and 3 deletions

View file

@ -1,4 +1,8 @@
build-docker:
build-scraper-docker:
docker build . -f ./scrapper/docker/Dockerfile -t metonymy/scrapper
upload-docker: build-docker
upload-scraper-docker: build-scraper-docker
docker push metonymy/scrapper
build-bot-docker:
docker build . -f ./bot/docker/Dockerfile -t metonymy/bot
upload-bot-docker: build-bot-docker
docker push metonymy/bot

View file

@ -10,3 +10,21 @@ services:
- "redis://192.168.0.221:6379"
- "--redis-stream-name"
- "posts::g4media"
bot:
container_name: bluesky-bot
image: metonymy/bot
environment:
RUST_LOG: info
command:
- "--redis-connection-string"
- "redis://192.168.0.221:6379"
- "--redis-stream-name"
- "posts::g4media"
- "--redis-consumer-group"
- "bluesky-bot-nas"
- "--redis-consumer-name"
- "bot-1"
- "--bluesky-handle"
- "REPLACE-ME"
- "--bluesky-password"
- "REPLACE-ME"