Remove world mounts for minecraft services
This commit is contained in:
parent
080d3d3222
commit
2e1fa261bd
2 changed files with 1 additions and 3 deletions
|
@ -13,7 +13,6 @@ services:
|
||||||
- ./mods:/mods
|
- ./mods:/mods
|
||||||
- ./config/legacy:/config
|
- ./config/legacy:/config
|
||||||
- ./data/legacy:/data
|
- ./data/legacy:/data
|
||||||
- ./worlds/legacy:/data/worlds
|
|
||||||
- ./legacy.properties:/data/server.properties
|
- ./legacy.properties:/data/server.properties
|
||||||
bedrock:
|
bedrock:
|
||||||
image: itzg/minecraft-bedrock-server
|
image: itzg/minecraft-bedrock-server
|
||||||
|
@ -28,5 +27,4 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ./data/bedrock:/data
|
- ./data/bedrock:/data
|
||||||
- ./worlds/bedrock:/data/worlds
|
|
||||||
- ./bedrock.properties:/data/server.properties
|
- ./bedrock.properties:/data/server.properties
|
||||||
|
|
|
@ -15,7 +15,7 @@ begin
|
||||||
set -l gid
|
set -l gid
|
||||||
set -l file (mktemp)
|
set -l file (mktemp)
|
||||||
set -l root (getServiceRoot $argv)
|
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 files "$root"/{legacy,bedrock}.properties
|
||||||
set -l config "$root/docker-compose.yml"
|
set -l config "$root/docker-compose.yml"
|
||||||
configureDockerService $argv
|
configureDockerService $argv
|
||||||
|
|
Loading…
Reference in a new issue