35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
version: '2.4'
|
|
services:
|
|
minecraft:
|
|
build:
|
|
context: .
|
|
restart: unless-stopped
|
|
volumes:
|
|
- /var/minecraft/world:/minecraft/world
|
|
- /var/minecraft/world_nether:/minecraft/world_nether
|
|
- /var/minecraft/world_the_end:/minecraft/world_the_end
|
|
- /var/minecraft/ops.json:/minecraft/ops.json
|
|
- /var/minecraft/mani:/minecraft/mani
|
|
- /var/minecraft/mani_nether:/minecraft/mani_nether
|
|
- /var/minecraft/mani_the_end:/minecraft/mani_the_end
|
|
- /var/minecraft/whitelist.json:/minecraft/whitelist.json
|
|
- /var/minecraft/banned-players.json:/minecraft/banned-player.json
|
|
- /var/minecraft/banned-ips.json:/minecraft/banned-ips.json
|
|
- /var/minecraft/permissions.yml:/minecraft/permissions.yml
|
|
- /var/minecraft/plugins:/minecraft/plugins
|
|
- /var/minecraft/bukkit.yml:/minecraft/bukkit.yml
|
|
- /var/minecraft/spigot.yml:/minecraft/spigot.yml
|
|
environment:
|
|
PORT: "25565"
|
|
ENABLE_COMMAND_BLOCK: "true"
|
|
MOTD: "Teiercloud Minecraft Server"
|
|
ENABLE_PVP: "true"
|
|
DIFFICULTY: "easy"
|
|
MAX_PLAYERS: "20"
|
|
ENABLED_WHITELIST: "true"
|
|
ONLINE_MODE: "true"
|
|
RESOURCE_PACK: "http://mc.teier.net/ovos.zip"
|
|
ports:
|
|
- 25565:25565
|
|
- 8123:8123
|
|
- 19132:19132/udp |