mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 06:12:27 +00:00
19 lines
No EOL
441 B
YAML
19 lines
No EOL
441 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
mc:
|
|
image: itzg/minecraft-server
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
EULA: "true"
|
|
TYPE: AUTO_CURSEFORGE
|
|
CF_API_KEY: # allocate from https://console.curseforge.com/
|
|
CF_FORCE_SYNCHRONIZE: "true"
|
|
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/valhelsia-5/files/4429560
|
|
MEMORY: 4G
|
|
volumes:
|
|
- data:/data
|
|
|
|
volumes:
|
|
data: {} |