mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 22:02:28 +00:00
19 lines
350 B
YAML
19 lines
350 B
YAML
version: '3.8'
|
|
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
container_name: paper
|
|
environment:
|
|
EULA: "true"
|
|
ENABLE_RCON: "true"
|
|
TYPE: PAPER
|
|
VIEW_DISTANCE: 10
|
|
MEMORY: 2G
|
|
CONSOLE: "false"
|
|
ports:
|
|
- 25565:25565
|
|
volumes:
|
|
- mc-paper:/data
|
|
restart: unless-stopped
|
|
volumes:
|
|
mc-paper:
|