Remove world mounts for minecraft services

This commit is contained in:
Manuel Thalmann 2024-11-27 04:00:20 +01:00
parent 080d3d3222
commit 2e1fa261bd
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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