mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-13 13:52:27 +00:00
21 lines
No EOL
613 B
YAML
21 lines
No EOL
613 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: /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: {} |