8go / matrix-eno-bot

An admin and personal assistence Matrix bot built on matrix-nio and nio-template
Apache License 2.0
88 stars 15 forks source link

Containerized bot #2

Closed apiraino closed 3 years ago

apiraino commented 4 years ago

hi @8go

thank you for this bot!

This PR suggests an alternate way to install the bot using Docker. The downside is that the resulting container is ~500mb but being Python what it is, it's complicated to not install the compiler on the server when you install the python dependencies. This is a workaround.

A better solution would be to create a wheel, but imo more convoluted.

Happy to receive a feedback on this PR :+1:

apiraino commented 4 years ago

I've also added a docker compose simple startup file, so we can have a persistent configuration outside the docker container.

Docker compose file usage is even simpler: docker-compose up -d and the build is automatically done and the container started.

No need to build and run the docker container anymore

apiraino commented 3 years ago

hi @8go thanks for the review. I've pushed your suggestions and rebased the branch

8go commented 3 years ago

Sorry for this delayed response. I apologize.

Excellent work. Great stuff. I appreciate it @apiraino. Thank you @apiraino for this effort to provide Docker containerization. Thanks also to @b3n4kh for his review and assistance.

A lot of people will find this helpful and useful.

Thanks so much!