From 8bcce1c5a1c392e3a18ba99a55480f96aeeeb729 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 27 Nov 2024 04:00:20 +0100 Subject: [PATCH] Remove world mounts for minecraft services --- .../Software/docker/services/minecraft/docker-compose.yml | 2 -- scripts/Common/Software/docker/services/minecraft/main.fish | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/Common/Software/docker/services/minecraft/docker-compose.yml b/scripts/Common/Software/docker/services/minecraft/docker-compose.yml index f5a95b37..eb4cd327 100644 --- a/scripts/Common/Software/docker/services/minecraft/docker-compose.yml +++ b/scripts/Common/Software/docker/services/minecraft/docker-compose.yml @@ -13,7 +13,6 @@ services: - ./mods:/mods - ./config/legacy:/config - ./data/legacy:/data - - ./worlds/legacy:/data/worlds - ./legacy.properties:/data/server.properties bedrock: image: itzg/minecraft-bedrock-server @@ -28,5 +27,4 @@ services: volumes: - /etc/localtime:/etc/localtime:ro - ./data/bedrock:/data - - ./worlds/bedrock:/data/worlds - ./bedrock.properties:/data/server.properties diff --git a/scripts/Common/Software/docker/services/minecraft/main.fish b/scripts/Common/Software/docker/services/minecraft/main.fish index 9c081981..7ed900f0 100644 --- a/scripts/Common/Software/docker/services/minecraft/main.fish +++ b/scripts/Common/Software/docker/services/minecraft/main.fish @@ -15,7 +15,7 @@ begin set -l gid set -l file (mktemp) set -l root (getServiceRoot $argv) - set -l dirs "$root"/{mods,{data,config,worlds}/{legacy,bedrock}} + set -l dirs "$root"/{mods,{data,config}/{legacy,bedrock}} set -l files "$root"/{legacy,bedrock}.properties set -l config "$root/docker-compose.yml" configureDockerService $argv