Make the minecraft server create a data folder in the podman user's home directory.
This commit is contained in:
parent
fc7195db6f
commit
c289954dc3
|
@ -4,7 +4,7 @@
|
|||
services = {
|
||||
mc = {
|
||||
service.image = "itzg/minecraft-server:latest";
|
||||
service.volumes = [ "${toString ./.}/data:/data" ];
|
||||
service.volumes = [ "/home/podman/data:/data" ];
|
||||
service.ports = [ "25565:25565" ];
|
||||
service.environment = {
|
||||
EULA = "true";
|
||||
|
|
Loading…
Reference in New Issue