Closed GoingOffRoading closed 4 years ago
Hey @GoingOffRoading,
Yeah, I just run it on a VPS 24/7.
I have not considered putting it into a container, but since it's just a Python app it should be doable easily enough.
Just it's something you'd have to build yourself, as due to lack of convenient app configuration methods you essentially have to hardcode your configuration in Python code into run.py
, making it difficult for me to provide prebuilt container images.
@GoingOffRoading
We have a forked version that has docker support added.
I wouldn't recomend using our version as we have made a number of other modifications to suit our needs, but it should serve as an example of how you can dockerize it using python-dotenv and a .env
file rather than hardcoding configs into run.py
You'll need to add the .env
file with the config that would normally go in the run.py
, then just build the image and run it.
Hey, how do you normally support this bot? Hosted on a 24/7 VM?
Have you explored putting this in a container?