docs: use consistent style in lazytainer example (#2662)

This commit is contained in:
Geoff Bourne 2024-02-13 08:14:49 -06:00 committed by GitHub
parent f17cdbee2b
commit e816d37dc3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 18 deletions

View file

@ -36,10 +36,9 @@ By using [Lazytainer](https://github.com/vmorganp/Lazytainer) with the [docker-m
version: "3"
services:
lazytainer:
container_name: lazytainer
image: ghcr.io/vmorganp/lazytainer:master
environment:
- VERBOSE=false
VERBOSE: false
ports:
- 25565:25565
volumes:
@ -54,13 +53,11 @@ services:
mc:
image: itzg/minecraft-server
environment:
- EULA=TRUE
- TYPE=PURPUR
- MEMORY=4G
- TZ=Europe/Berlin
- OVERRIDE_SERVER_PROPERTIES=TRUE
EULA: TRUE
TYPE: PAPER
MEMORY: 4G
volumes:
- /opt/container_volumes/minecraft/data:/data
- ./data:/data
labels:
- lazytainer.group=minecraft
depends_on:
@ -69,6 +66,5 @@ services:
tty: true
stdin_open: true
restart: unless-stopped
networks: {}
```
[Source](https://github.com/itzg/docker-minecraft-server/blob/master/examples/lazytainer/docker-compose.yml)

View file

@ -1,10 +1,9 @@
version: "3"
services:
lazytainer:
container_name: lazytainer
image: ghcr.io/vmorganp/lazytainer:master
environment:
- VERBOSE=false
VERBOSE: false
ports:
- 25565:25565
volumes:
@ -19,13 +18,11 @@ services:
mc:
image: itzg/minecraft-server
environment:
- EULA=TRUE
- TYPE=PURPUR
- MEMORY=4G
- TZ=Europe/Berlin
- OVERRIDE_SERVER_PROPERTIES=TRUE
EULA: TRUE
TYPE: PAPER
MEMORY: 4G
volumes:
- /opt/container_volumes/minecraft/data:/data
- ./data:/data
labels:
- lazytainer.group=minecraft
depends_on:
@ -34,4 +31,3 @@ services:
tty: true
stdin_open: true
restart: unless-stopped
networks: {}