-
Notifications
You must be signed in to change notification settings - Fork 72
Complete rework #43
base: develop
Are you sure you want to change the base?
Complete rework #43
Conversation
+ createAlias for easier docker exec + added scripts to build / run
So regarding the first test there was some documentation needed. Iam a fan of less additional documentation, the code and the folder structure itself should be the documentation.
|
Thanks for putting so much effort into this, looks quite promising. About GameServerManagers/LinuxGSM#3836 , I don't think that this requires much more work. However the only one who can effectively approve it is @dgibbs64 himself and he's quite busy at the moment afaik. Will try to make some time to have a look at all this again. |
So, I actually did take some time just now to take another look at this... And after trying to understand your code for a while I actually got to run a mcserver using your example-yml. A few things I encountered that weren't so intuitive for me (reminder, I am a docker noob with only very very limited knowledge).
One more thing (less an issue with your code than with me not understanding docker): On my first attempt to run docker-compose on one of the example ymls, it was exiting on me with the message "service 'name' must be a mapping not a string" - do you know what that was about? After re-installing docker (using docker desktop, I was working in a wsl2 container), it suddenly worked fine. All in all it looks very nice, good work! |
|
ah and "service 'name' must be a mapping not a string" seems like one of the auto generated names is illegal for docker service |
Thanks for the explanations, sounds logically to me :)
No idea about that tho. Perhaps I just did a mistake on my previous docker installation. |
Heyho, I looked into improving linuxgsm docker side a bit and added some of my ideas.
Currently my work is not completed but there are already quite some changes which might be discussable, therefore I would like to request feedback and suggestions. Also available through discord with the same name on linuxgsm server if you prefer pair programming review.
Features:
docker exec -it CONTAINER monitor
or in scriptinglgsm-monitor
Checklist
Pull request
PR will not be merged until all steps are complete.
develop
branch as its base.Additional needed from my pov
Optional, probably follow up
State updated 05.04.2022
Ubuntu 22.04:
Feature Config injection with GAME_:
suggested versioning
Suggesting to use the common docker versioning without linuxgsm auto-update:
Script for this: