Sanae6 / SmoOnlineServer

Official server for Super Mario Odyssey: Online
https://discord.gg/jYCueK2BqD
103 stars 24 forks source link

provide docker image #6

Closed Istador closed 2 years ago

Istador commented 2 years ago

Providing a docker image removes the burden of having to install dependencies on the host system to build and run the server. (For example I'd not want to install and run anything from Microsoft on my Linux system directly.)

Even on Windows systems, using docker allows for a smoother upgrade process. Instead of manually checking for a new sever.exe every now and then, users can just docker pull ${image}, docker-compose pull or run with --pull=always to keep the image up to date. Or easily pick among several (older) versions by using docker tags.


Pushing to the default branch (master) will deploy:

Pushing to other branches (e.g. dev) will only deploy:

Pushing version tags (e.g. 1.0.2 or v1.0.2) will deploy:


Example image ghcr.io/istador/smo-online-server:

docker  run  --rm  -it  -p 1027:1027  -v smoo-data:/data/  ghcr.io/istador/smo-online-server