Updated How to host Multiplayer (markdown)
@@ -61,8 +61,9 @@ World Host<br>
|
||||
# Linux root server (Docker)
|
||||
## Requirement:
|
||||
- [Docker with Docker Compose Plugin](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
|
||||
|
||||
Create a new directory with a `docker-compose.yml` with the following contents:
|
||||
## Installation
|
||||
1. Create a new directory
|
||||
2. Create a file called `docker-compose.yml` with the following contents:
|
||||
```yml
|
||||
services:
|
||||
mc:
|
||||
@@ -96,5 +97,18 @@ services:
|
||||
volumes:
|
||||
- ./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
|
||||
```
|
Reference in New Issue
Block a user