Updated How to host Multiplayer (markdown)

Yannik
2024-09-28 23:43:35 +02:00
parent 6d2cc246c8
commit bccfd8374c

@@ -61,8 +61,9 @@ World Host<br>
# Linux root server (Docker) # Linux root server (Docker)
## Requirement: ## Requirement:
- [Docker with Docker Compose Plugin](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository) - [Docker with Docker Compose Plugin](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
## Installation
Create a new directory with a `docker-compose.yml` with the following contents: 1. Create a new directory
2. Create a file called `docker-compose.yml` with the following contents:
```yml ```yml
services: services:
mc: mc:
@@ -96,5 +97,18 @@ services:
volumes: volumes:
- ./data:/data - ./data:/data
``` ```
3. Run docker compose up -d in that directory
4. Server should now be installing and then starting
more info coming soon... Follow the logs of the container using
```sh
docker compose logs -f
```
check on the status with
```sh
docker compose ps
```
and stop the container using
```sh
docker compose stop
```