mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
18 lines
424 B
YAML
18 lines
424 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/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: {} |