Make the minecraft server create a data folder in the podman user's home directory.

This commit is contained in:
Sky Hearn 2024-03-09 06:38:19 -08:00
parent fc7195db6f
commit c289954dc3
1 changed files with 1 additions and 1 deletions

View File

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