Revert mount changes

This commit is contained in:
2024-09-23 00:33:13 +02:00
parent 713fe005c0
commit 1a9118eb9a
2 changed files with 2 additions and 5 deletions
-4
View File
@@ -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
+2 -1
View File
@@ -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 `