add bluesky bot deployment file
This commit is contained in:
parent
23f6840820
commit
2b1750cae2
2 changed files with 25 additions and 3 deletions
10
Makefile
10
Makefile
|
@ -1,4 +1,8 @@
|
|||
build-docker:
|
||||
build-scraper-docker:
|
||||
docker build . -f ./scrapper/docker/Dockerfile -t metonymy/scrapper
|
||||
upload-docker: build-docker
|
||||
docker push metonymy/scrapper
|
||||
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
|
|
@ -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"
|
Loading…
Reference in a new issue