Skip to content

Add docker container#38

Open
deafmute1 wants to merge 2 commits intoXDGFX:python-rewritefrom
deafmute1:python-rewrite
Open

Add docker container#38
deafmute1 wants to merge 2 commits intoXDGFX:python-rewritefrom
deafmute1:python-rewrite

Conversation

@deafmute1
Copy link

@deafmute1 deafmute1 commented Feb 24, 2022

Hi,
I've made a docker container for my own use, that runs that script continuously based on a user set timer.
Additionally, I've made some modifications to PPP.py to support it:

  • Functionalised main routine using typical python idiom
  • Made main routine take the location of variables.json as a parameter, with its previous location being the default.

I also added a requirements.txt since this script needs a module from pypi (requests).
At the moment, I haven't published built images to docker hub, but users can build it themselves with supplied docker-compose.yaml, as per instructions in readme.

Seeing as this is sort of an ancillary feature to the script itself, feel free to reject this PR if you don't want it in your repo on that basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant