legacy-server-config/minecraft/docker-compose.yml

35 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2021-01-01 15:09:53 +00:00
version: '2.4'
services:
minecraft:
build:
context: .
restart: unless-stopped
2021-01-01 15:09:53 +00:00
volumes:
- /var/minecraft/world:/minecraft/world
2021-04-12 09:14:55 +00:00
- /var/minecraft/world_nether:/minecraft/world_nether
- /var/minecraft/world_the_end:/minecraft/world_the_end
2021-01-01 15:09:53 +00:00
- /var/minecraft/ops.json:/minecraft/ops.json
2021-07-30 14:06:39 +00:00
- /var/minecraft/mani:/minecraft/mani
- /var/minecraft/mani_nether:/minecraft/mani_nether
- /var/minecraft/mani_the_end:/minecraft/mani_the_end
2021-01-01 15:09:53 +00:00
- /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
2021-04-12 09:14:55 +00:00
- /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
2021-01-01 15:09:53 +00:00
environment:
PORT: "25565"
ENABLE_COMMAND_BLOCK: "true"
MOTD: "Teiercloud Minecraft Server"
ENABLE_PVP: "true"
DIFFICULTY: "easy"
MAX_PLAYERS: "20"
ENABLED_WHITELIST: "true"
2021-04-12 09:14:55 +00:00
ONLINE_MODE: "true"
RESOURCE_PACK: "http://mc.teier.net/ovos.zip"
2021-01-01 15:09:53 +00:00
ports:
2021-04-12 09:14:55 +00:00
- 25565:25565
2021-07-30 14:06:39 +00:00
- 8123:8123
- 19132:19132/udp