From 8dd9566bf1c5249ffeb3dac4bf476dcbaeefad6c Mon Sep 17 00:00:00 2001 From: Alex Macocian Date: Thu, 12 Sep 2024 04:37:07 +0200 Subject: [PATCH] Expose 8123 for Dynmap --- Dockerfile | 1 + Start.ps1 | 1 + 2 files changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 550d0b2..5b9775e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ RUN addgroup -S mcgroup && adduser -S mcuser -G mcgroup -s /bin/sh \ WORKDIR /minecraft EXPOSE 25565 +EXPOSE 8123 CMD /bin/sh -c ' \ echo Fixing ownership of minecraft directory... && \ diff --git a/Start.ps1 b/Start.ps1 index dfe3b6b..7f56e02 100644 --- a/Start.ps1 +++ b/Start.ps1 @@ -14,6 +14,7 @@ if ($container) { Write-Host "The container '$containerName' does not exist. Creating it..." docker create --name $containerName ` -p 25565:25565 ` + -p 8123:8123 ` -v "$(pwd)/plugins:/minecraft/plugins" ` -v "$(pwd)/logs:/minecraft/logs" ` --restart unless-stopped `