mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-15 06:42:28 +00:00
19 lines
No EOL
517 B
YAML
19 lines
No EOL
517 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
mc:
|
|
image: itzg/minecraft-server:${IMAGE_TAG:-java8}
|
|
volumes:
|
|
- ./modpacks:/modpacks:ro
|
|
- data:/data
|
|
environment:
|
|
EULA: "true"
|
|
TYPE: CURSEFORGE
|
|
CF_SERVER_MOD: https://media.forgecdn.net/files/3482/169/Valhelsia+3-3.4.4-SERVER.zip
|
|
# CF_SERVER_MOD: https://media.forgecdn.net/files/3012/800/SkyFactory-4_Server_4.2.2.zip
|
|
# CF_SERVER_MOD: /modpacks/${MODPACK:-SkyFactory_4_Server_4.1.0.zip}
|
|
ports:
|
|
- "25565:25565"
|
|
|
|
volumes:
|
|
data: {} |