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 `