mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
19 lines
597 B
YAML
19 lines
597 B
YAML
services:
|
|
mc:
|
|
image: itzg/minecraft-server:${IMAGE_TAG:-java8}
|
|
volumes:
|
|
- ./modpacks:/modpacks:ro
|
|
- data:/data
|
|
environment:
|
|
EULA: "true"
|
|
TYPE: CURSEFORGE
|
|
CF_SERVER_MOD: /modpacks/SIMPLE-SERVER-FILES-0.3.20.zip
|
|
# CF_SERVER_MOD: /modpacks/createlive3serverfiles+1.4.2.zip
|
|
# CF_SERVER_MOD: /modpacks/Valhelsia+3-3.5.1-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: {} |