Unverified Commit b32b230f authored by Noé Lopez's avatar Noé Lopez
Browse files

Add docker-compose service.

parent 23f0d187
Docker compose for ingestion services
To use this docker-compose, you need to put the required sources in
/home/devops for the discord and github teams.
For the telegram and reddit teams, you can place their environment
(.env) files in this directory.
Then, just run `docker-compose up`.
Note that the systemd ingestion services in this repository should
also be running.
\ No newline at end of file
services:
telegram:
image: "telegramdibucuu/teledatastream:latest"
volumes:
- /var/ingestion/telegram:/app/data/output/telegram
- ./telegram.session:/app/session_name.session
env_file: telegram.env
reddit:
image: "userhub0/reddit_datafetcher"
volumes:
- /var/ingestion/reddit:/app/output
environment:
- SUBREDDITS=electricvehicles,TeslaLounge,BYD,iphone,ios26bugs
- POST_LIMIT=100
- COMMENT_LIMIT=100
discord:
build: /home/devops/discord-team-source
volumes:
- /var/ingestion/discord:/app/ingest
env_file: discord.env
github:
build: /home/devops/github-team-source
volumes:
- /var/ingestion/github:/app/output
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment