The bot is a supportive application for the Photo Of The Day app. Its purpose is to simplify the photo upload process to a simple conversation with a bot over Telegram.
A CI process automatically kicks in on commit to the main branch. It launches Docker's buildx command for multi-arch builds. My bot instance runs on Raspberry Pi.
Upload process:
Rename .env_example to .env and fill in the values.
Navigate to the repo's directory and run the following command
docker run -d --restart unless-stopped --env-file .env hubacekjirka/s3-telegram-uploader:latest
Navigate to the repo's directory and run the following command
docker-compose up -d --remove-orphans
Automatic pulling of the docker image from docker hub may be scheduled as a cron job. The job would invoke the docker_auto_pull.sh script.
👤 jiri hubacek
- Web: Blog
- Twitter: @hubacekjirka
- Github: @hubacekjirka
Give a ⭐️ if this project helped you!
Copyright © 2020 jiri hubacek.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator