mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-12 13:22:28 +00:00
19 lines
No EOL
466 B
YAML
19 lines
No EOL
466 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server:${IMAGE_TAG:-latest}
|
|
volumes:
|
|
- data:/data
|
|
- ./modpacks:/modpacks:ro
|
|
environment:
|
|
EULA: "true"
|
|
TYPE: FORGE
|
|
DEBUG: "${DEBUG:-false}"
|
|
VERSION: ${VERSION:-1.17.1}
|
|
FORGE_VERSION: ${FORGE_VERSION:-37.0.90}
|
|
GENERIC_PACK: /modpacks/${MODPACK:-Server-Files-0.0.21.zip}
|
|
REMOVE_OLD_MODS: "${REMOVE_OLD_MODS:-false}"
|
|
ports:
|
|
- "25565:25565"
|
|
|
|
volumes:
|
|
data: {} |