mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
21 lines
490 B
YAML
21 lines
490 B
YAML
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
mc:
|
||
|
image: itzg/minecraft-server
|
||
|
environment:
|
||
|
EULA: true
|
||
|
MOD_PLATFORM: AUTO_CURSEFORGE
|
||
|
# 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
|
||
|
MEMORY: 4G
|
||
|
volumes:
|
||
|
- mc:/data
|
||
|
- ../downloads:/downloads
|
||
|
ports:
|
||
|
- "25565:25565"
|
||
|
|
||
|
volumes:
|
||
|
mc: {}
|