Add a volume to contain the minecraft world files

This commit is contained in:
Tristan Daniël Maat 2020-07-27 20:54:54 +01:00
parent c434f513cd
commit be6a838ea8
Signed by: tlater
GPG key ID: 49670FD774E43268

View file

@ -121,6 +121,7 @@ in
"25565:25565" "25565:25565"
]; ];
volumes = [ volumes = [
"minecraft:/var/lib/minecraft/world"
"${ops}:/var/lib/minecraft/ops.json:ro" "${ops}:/var/lib/minecraft/ops.json:ro"
"${whitelist}:/var/lib/minecraft/whitelist.json:ro" "${whitelist}:/var/lib/minecraft/whitelist.json:ro"
]; ];