Expose 8123 for Dynmap

This commit is contained in:
2024-09-12 04:37:07 +02:00
parent 3fa95d65f5
commit 8dd9566bf1
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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... && \
+1
View File
@@ -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 `