mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
17 lines
459 B
YAML
17 lines
459 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server:java8-multiarch
|
|
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: rlcraft
|
|
CF_FILENAME_MATCHER: 2.9.3
|
|
CF_FORCE_SYNCHRONIZE: true
|
|
MEMORY: 4G
|
|
volumes:
|
|
- ./data:/data
|
|
ports:
|
|
- "25565:25565"
|