docs: mkdocs cleanup and caught up with latest README changes (#2155)

This commit is contained in:
Geoff Bourne
2023-05-28 16:14:57 -05:00
committed by GitHub
parent f1e5e48950
commit 1932f0cfd4
18 changed files with 483 additions and 420 deletions

View File

@@ -0,0 +1,26 @@
Rather than type the server options below, the port mappings above, etc
every time you want to create new Minecraft server, you can now use
[Docker Compose](https://docs.docker.com/compose/). Start with a
`docker-compose.yml` file like the following:
``` yaml
version: "3"
services:
mc:
image: itzg/minecraft-server
ports:
- 25565:25565
environment:
EULA: "TRUE"
tty: true
stdin_open: true
restart: unless-stopped
```
and in the same directory as that file run
docker-compose up -d
Now, go play...or adjust the `environment` section to configure
this server instance.