mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-25 10:15:02 +00:00
20 lines
508 B
YAML
20 lines
508 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
tty: true
|
|
stdin_open: true
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
EULA: true
|
|
MOD_PLATFORM: AUTO_CURSEFORGE
|
|
# allocate from https://console.curseforge.com/ and set in .env file
|
|
CF_API_KEY: ${CF_API_KEY}
|
|
CF_SLUG: all-the-mods-10
|
|
# Optional: select a specific version/file
|
|
# CF_FILENAME_MATCHER: "1.17"
|
|
ALLOW_FLIGHT: true
|
|
CF_OVERRIDES_EXCLUSIONS: |
|
|
shaderpacks/**
|
|
volumes:
|
|
data:
|