docker-minecraft-server/examples/bettermc/docker-compose.yml

18 lines
444 B
YAML
Raw Normal View History

2023-07-08 18:35:52 +00:00
services:
mc:
image: itzg/minecraft-server
environment:
EULA: true
MODPACK_PLATFORM: AUTO_CURSEFORGE
2023-07-08 18:35:52 +00:00
# Set CF_API_KEY=... in a .env file next to this compose file and don't source control that file
CF_API_KEY: ${CF_API_KEY}
CF_SLUG: better-mc-fabric-bmc1
# CF_FILENAME_MATCHER: v18.5
2023-07-08 18:35:52 +00:00
MEMORY: 4G
volumes:
- mc:/data
ports:
- "25565:25565"
volumes:
mc: {}