31 lines
861 B
YAML
31 lines
861 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
container_name: minecraft
|
|
tty: true
|
|
stdin_open: true
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
EULA: "TRUE"
|
|
TYPE: "PAPER"
|
|
MEMORY: "3g"
|
|
SPIGET_RESOURCES: "82342,62325,106031"
|
|
MODRINTH_PROJECTS: |
|
|
systemhomes:NWvaSZ8p,
|
|
inventoryrollbackplus
|
|
SERVER_NAME: "vaporvee's Minecraft-Server"
|
|
ICON: "https://i.ytimg.com/vi/vpKc4X1m8Yo/hq720.jpg"
|
|
MOTD: "§1Yannik's crazy Minecraft-Server"
|
|
MAX_PLAYERS: "420"
|
|
ENABLE_WHITELIST: "true"
|
|
WHITELIST: "f396e2b9-cbb1-46a0-bb72-96898a1ca44d"
|
|
DIFFICULTY: "NORMAL"
|
|
VIEW_DISTANCE: "128"
|
|
SPAWN_PROTECTION: "0"
|
|
ENABLE_COMMAND_BLOCK: "true"
|
|
volumes:
|
|
- ./data:/data
|
|
- ./plugins:/plugins
|
|
|
|
# `docker exec -i minecraft rcon-cli` to access the console |