Remove world mounts for minecraft services
This commit is contained in:
parent
786e422aa6
commit
8bcce1c5a1
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue