Commit Graph

10 Commits

Author SHA1 Message Date
jeremy 6e13a0aa15 refactor: modular init, add bedrock loader, dynamic java/healthcheck
Build dev image / build (push) Failing after 18m12s
- Split monolithic init into modular lib files under scripts/lib/
  (common.sh, java.sh, server.sh, loaders/{vanilla,paper,fabric,forge,neoforge}.sh)
- Add bedrock loader: downloads from Minecraft Services API,
  runs native binary with LD_LIBRARY_PATH, skips Java setup
- Add auto-detection for JAVA_VERSION from Mojang version manifest
  (MC 1.20.5+ -> temurin@21, 1.17-1.20.4 -> temurin@17,
   1.17 -> temurin@16, pre-1.17 -> temurin@8)
- Fix NEW_FORGE unbound variable when non-Forge loaders run
- Fix Fabric loader jq filter (-s slurp removed, null string check fixed)
- Fix Forge test detection (recursive find for forge-*-server.jar)
- Dynamic healthcheck: nc -z TCP 25565 for Java, nc -zu UDP 19132 for bedrock
- Add .gitea/workflows/build-dev.yml for dev branch CI builds
- Base image: debian:bookworm-slim (from ubuntu:noble)
- Add unzip, netcat-openbsd to Docker image
- Switch to shebangs, set -euo pipefail throughout
2026-06-17 18:41:26 -04:00
jeremy 2d46f91c60 adjust docker compose with new standards for Xms and Xmx
Docker Build and Push / build (push) Successful in 1m11s
2025-07-25 21:51:06 -04:00
jeremy b0c1b07499 Loader version option
Docker Build and Push / build (push) Successful in 2m25s
2025-06-18 07:52:11 -04:00
jeremy f325f54ee9 add comment for server choice 2025-03-30 00:45:55 -04:00
jeremy cff62979ff change Eula handling, disable server start
Docker Build and Push / build (push) Successful in 1m6s
2025-03-29 06:11:18 -04:00
jeremy e04bf4ef57 add ports to compose file and set default server as paper
Docker Build and Push / build (push) Successful in 1m17s
2025-03-28 02:26:45 -04:00
jeremy 7693eb3b6f corrected MEM to MEMORY in docker compose
Docker Build and Push / build (push) Successful in 1m10s
2025-03-22 21:21:06 -04:00
jeremy aa4b113bfe change default to paper, and change name of service
Docker Build and Push / build (push) Successful in 1m5s
2025-03-22 19:57:53 -04:00
jeremy bd8e219ad8 change compose file with updated image 2025-03-22 19:37:33 -04:00
jeremy 771700d6c8 initial push
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m36s
2025-03-22 18:56:54 -04:00