From 1a9118eb9a2d20dab913330c44d21a9d8b199d1e Mon Sep 17 00:00:00 2001 From: Alex Macocian Date: Mon, 23 Sep 2024 00:33:13 +0200 Subject: [PATCH] Revert mount changes --- Readme.md | 4 ---- Start.ps1 | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index 220265a..1887a2e 100644 --- a/Readme.md +++ b/Readme.md @@ -12,10 +12,6 @@ - Run `Restore.ps1` to restore your modified files into the container. **The container needs to run for this to work** - Run `Start.ps1` -## Configuration - -Adjust the minecraft server configuration that is mounted in `/server-files` relative to the directory where the dockerfile is located - ## Script glossary ### `Build.ps1` to build the docker image diff --git a/Start.ps1 b/Start.ps1 index 41d424f..649839e 100644 --- a/Start.ps1 +++ b/Start.ps1 @@ -15,7 +15,8 @@ if ($container) { docker create --name $containerName ` -p 25565:25565 ` -p 8123:8123 ` - -v "$(pwd)/server-files:/minecraft/" ` + -v "$(pwd)/plugins:/minecraft/plugins" ` + -v "$(pwd)/logs:/minecraft/logs" ` --restart unless-stopped ` --health-cmd "nc -z localhost 25565 || exit 99" ` --health-interval 30s `