2021-09-10 15:26:19 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
2022-05-22 16:35:52 +00:00
|
|
|
mc:
|
2021-09-10 15:26:19 +00:00
|
|
|
image: itzg/minecraft-server:java8
|
|
|
|
volumes:
|
2022-05-22 16:35:52 +00:00
|
|
|
- data:/data
|
|
|
|
- ./modpacks:/modpacks:ro
|
2021-09-10 15:26:19 +00:00
|
|
|
environment:
|
|
|
|
EULA: "true"
|
|
|
|
TYPE: "FORGE"
|
|
|
|
VERSION: "1.12.2"
|
2022-05-22 16:35:52 +00:00
|
|
|
FORGEVERSION: "14.23.5.2860"
|
|
|
|
OVERRIDE_SERVER_PROPERTIES: "true"
|
2021-09-10 15:26:19 +00:00
|
|
|
DIFFICULTY: "hard"
|
|
|
|
MAX_TICK_TIME: "-1"
|
|
|
|
ALLOW_FLIGHT: "true"
|
2022-05-22 16:35:52 +00:00
|
|
|
ENABLE_COMMAND_BLOCK: "true"
|
|
|
|
VIEW_DISTANCE: "10"
|
2021-09-10 15:26:19 +00:00
|
|
|
MEMORY: "4G"
|
2022-05-22 16:35:52 +00:00
|
|
|
# Download from https://www.curseforge.com/minecraft/modpacks/rlcraft and place in modpacks subdir
|
|
|
|
GENERIC_PACK: "/modpacks/RLCraft+Server+Pack+1.12.2+-+Release+v2.9.1c.zip"
|
2021-09-10 15:26:19 +00:00
|
|
|
ports:
|
|
|
|
- 25565:25565
|
|
|
|
|
|
|
|
volumes:
|
2022-05-22 16:35:52 +00:00
|
|
|
data:
|