mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-13 23:57:08 +00:00
41 lines
1.5 KiB
YAML
41 lines
1.5 KiB
YAML
services:
|
|
vanillatweaks_file:
|
|
restart: "no"
|
|
image: itzg/minecraft-server
|
|
ports:
|
|
- "25565:25565/tcp"
|
|
environment:
|
|
EULA: "TRUE"
|
|
VERSION: ${MINECRAFT_VERSION:-LATEST}
|
|
VANILLATWEAKS_FILE: /config/vanillatweaks-datapacks.json
|
|
REMOVE_OLD_VANILLATWEAKS: "TRUE"
|
|
volumes:
|
|
- data:/data
|
|
- ./vanillatweaks-datapacks.json:/config/vanillatweaks-datapacks.json:ro
|
|
vanillatweaks_sharecode:
|
|
# port is set to 25566 to not conflict with vanillatweaks_file example
|
|
ports:
|
|
- "25566:25565/tcp"
|
|
restart: "no"
|
|
image: itzg/minecraft-server
|
|
environment:
|
|
EULA: "TRUE"
|
|
VERSION: ${MINECRAFT_VERSION:-LATEST}
|
|
VANILLATWEAKS_SHARECODE: MGr52E
|
|
REMOVE_OLD_VANILLATWEAKS: "TRUE"
|
|
vanillatweaks_file_datapacks_and_resourcepacks_and_craftingtweaks:
|
|
# port is set to 25567 to not conflict with vanillatweaks_file example
|
|
restart: "no"
|
|
image: itzg/minecraft-server
|
|
ports:
|
|
- "25567:25565/tcp"
|
|
environment:
|
|
EULA: "TRUE"
|
|
VERSION: ${MINECRAFT_VERSION:-LATEST}
|
|
VANILLATWEAKS_FILE: /config/vanillatweaks-datapacks.json,/config/vanillatweaks-resourcepacks.json,/config/vanillatweaks-craftingtweaks.json
|
|
REMOVE_OLD_VANILLATWEAKS: "TRUE"
|
|
volumes:
|
|
- data:/data
|
|
- ./vanillatweaks-datapacks.json:/config/vanillatweaks-datapacks.json:ro
|
|
- ./vanillatweaks-resourcepacks.json:/config/vanillatweaks-resourcepacks.json:ro
|
|
- ./vanillatweaks-craftingtweaks.json:/config/vanillatweaks-craftingtweaks.json:ro
|