mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-20 05:25:58 +00:00
VanillaTweaks uses mc-image-helper and auto-cleans old files (#1581)
This commit is contained in:
18
tests/setuponlytests/vanillatweaks_file/docker-compose.yml
Normal file
18
tests/setuponlytests/vanillatweaks_file/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
mc:
|
||||
restart: "no"
|
||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
SETUP_ONLY: "TRUE"
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VANILLATWEAKS_FILE: /config/vt-datapacks.json,/config/vt-craftingtweaks.json,/config/vt-resourcepacks.json
|
||||
REMOVE_OLD_VANILLATWEAKS: "FALSE"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./vt-datapacks.json:/config/vt-datapacks.json:ro
|
||||
- ./vt-craftingtweaks.json:/config/vt-craftingtweaks.json:ro
|
||||
- ./vt-resourcepacks.json:/config/vt-resourcepacks.json:ro
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
Reference in New Issue
Block a user