2023-01-26 19:46:48 +00:00
|
|
|
services:
|
|
|
|
mc:
|
|
|
|
image: itzg/minecraft-server
|
|
|
|
ports:
|
|
|
|
- "25565:25565"
|
|
|
|
environment:
|
|
|
|
EULA: "true"
|
2024-10-24 12:12:13 +00:00
|
|
|
MODPACK_PLATFORM: AUTO_CURSEFORGE
|
2023-04-02 23:19:42 +00:00
|
|
|
# CF_API_KEY=... must be set in .env file or as environment variable
|
|
|
|
CF_API_KEY: ${CF_API_KEY}
|
|
|
|
CF_SLUG: one-block-modded
|
|
|
|
# Modpack client zip must be manually downloaded from
|
|
|
|
# https://www.curseforge.com/minecraft/modpacks/one-block-modded
|
|
|
|
# due to authors disallowing project distribution
|
2023-07-17 12:52:24 +00:00
|
|
|
CF_MODPACK_ZIP: /modpacks/Modded+OneBlock.zip
|
2023-01-26 19:46:48 +00:00
|
|
|
CF_SET_LEVEL_FROM: OVERRIDES
|
|
|
|
DEBUG: "false"
|
|
|
|
MEMORY: 4G
|
|
|
|
volumes:
|
|
|
|
- mc-data:/data
|
2023-04-02 23:19:42 +00:00
|
|
|
- ./modpacks:/modpacks:ro
|
2023-01-26 19:46:48 +00:00
|
|
|
|
|
|
|
volumes:
|
2023-07-17 12:52:24 +00:00
|
|
|
mc-data: {}
|