SystemRage / py-kms

KMS Server Emulator written in Python
The Unlicense
2.04k stars 618 forks source link

[PROPOSAL] Make docker integration better #53

Closed simonmicro closed 3 years ago

simonmicro commented 4 years ago

I would like to see a better integration into docker. @SystemRage What do you think about following changes:

SystemRage commented 4 years ago

I'm not very familiar with docker so feel free to create all you want, then i'll add your PRs. Your work will be highly appreciated.

simonmicro commented 4 years ago

@SystemRage Hi, that sounds really good! I already started to work on the required changes but now ran into an issue with docker hub. They require me to have the Ownership of the repo I configure the auto builds for (my fork it already works). Of course thats not possible! To still make this work I tested a workaround: I would like to ask you to create an own account on the docker hub and create a new Organisation. Then link your GitHub account to this Organisation (make sure to select limited access, so docker only sees your public projects). After that you can (temporarly) add me (note that my username on docker hub is realsimonmicro), so i can create the image and configure the builds using your GitHub repo. If you give me permanent access i would happy to maintain the official images indefinitvly. Alternativly I cloud type you a little guide, how I would set it up - so you wouldn't have to work with me 😃. You can already check my work in my fork and determine wether you would like that or not. If you have any qeuestions regarding this procedure feel free to ask them - I would be happy to assist you!

simonmicro commented 4 years ago

@SystemRage I would like to update the wiki, but I can't find any edit button (like over on GitLab). Could you assist me on that?

simonmicro commented 4 years ago

Okay, since I'm not able to update the wiki, I call this issue closed. Feel free to experiment and work with docker - I'll be here to help :grinning: See you!

SystemRage commented 4 years ago

If you still want i added wiki files as markdown so you can create PRs on it. Then i update manually py-kms.wiki.git

simonmicro commented 4 years ago

@SystemRage What would you think about an other approach? In the last days i started to work with Hugo (and really like it) - it is also able to generate an static site from Markdown files. With this a new doc folder would be needed inside the repo. Also an other repo to git push the static files to... Maybe a little bit too complicated - demo...

OR

...maybe Sphinx? I don't have too much experience with it, but I guess they both work very similar. Sphinx also is used for readthedocs - and I think that would be a great addition to this project! Demo

In any way: With this new approach any user is able to receive a copy of the wiki inside the repo folder AND they can directly commit to it. This way you don't need to update the wiki manually.

As always: Because I want to learn this anyways I offer my help - if you approve this I would start a new PR to implement this. Maybe I'll need your help for the Sphinx integration - we'll see.

SystemRage commented 4 years ago

Certainly, go ahead.

simonmicro commented 3 years ago

Superseeded by #82