New MC Garde Studios Server
Go to file
2024-11-16 22:57:04 +01:00
assets Added Architecture Overview to Assets 2024-11-11 02:59:38 +01:00
deployment Added deployment strategie for garde-studios.de 2024-11-16 22:57:04 +01:00
fallback Added deployment strategie for garde-studios.de 2024-11-16 22:57:04 +01:00
main Added deployment strategie for garde-studios.de 2024-11-16 22:57:04 +01:00
monitoring Added deployment strategie for garde-studios.de 2024-11-16 22:57:04 +01:00
proxy Added prometheus with scrape options 2024-11-16 22:26:23 +01:00
.gitignore Added Architecture Overview to Assets 2024-11-11 02:59:38 +01:00
README.md Added Architecture Overview to Assets 2024-11-11 02:59:38 +01:00

NEW MC Server - Powered by Garde Studios

Development

(Prerequisite) Install Docker

Go to the Website docker.com and download the Docker Desktop Version for you're Operating System.

In case you're using Linux find a guide on the internet. For RHEL/Fedora/CentOS/Rocky Linux the setup process is as follows:

sudo dnf check-update # Update System
sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo # Add the docker repo to dnf
sudo dnf install docker-ce docker-ce-cli containerd.io -y # Install docker engine
sudo systemctl start docker # start docker deamon
sudo systemctl enable docker # enable docker deamon on startup
sudo usermod -aG docker $(whoami) # elevate user to use docker cmd 

Starting the Server

Warning

Make sure you first configure the docker-compose.yml under the environment section to use the appropiate ammount of RAM youre system can provide. 16GB isn't sensible in most development/testing environments

Start a Terminal or use Docker Desktop

Note

The first Startup creates the whole infrastructure behind the project and can take up some time. Make sure you grab some 0xCOFFE :)

Using Docker CLI

cd into the repo.

Start the Server:

docker compose up 

To close it just use ctrl+c.

Deamon Mode:

docker compose up -d

To hook into the servers logs use:

docker logs <container-name>

Killing the server is done in two ways.

Either by killing it directly:

docker kill <container-name>

Or by hooking against the compose file:

docker compose down 

Architecture