From 4f3fe4ed5a8c25694eab2042c1c9630ae968f2c0 Mon Sep 17 00:00:00 2001 From: zardzul Date: Fri, 20 Feb 2026 18:10:44 +0100 Subject: [PATCH] switch ports, use java 21 --- .gitignore | 3 ++- Dockerfile | 4 ++-- docker-compose.yml | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 20c3fa7..2fd5703 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env world -modpack \ No newline at end of file +modpack* +Dockerfile \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ff56ef1..47cc328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -# Use an official OpenJDK 17 image -FROM eclipse-temurin:17-jdk +# Use an official OpenJDK 21 image +FROM eclipse-temurin:21-jdk # Set working directory WORKDIR /server diff --git a/docker-compose.yml b/docker-compose.yml index 22e9ac4..faf237a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,6 +5,6 @@ services: volumes: - ./world:/server/world ports: - - "25565:25565" - - "25575:25575" + - "5101:25565" + - "5201:25575" restart: unless-stopped \ No newline at end of file