Sign inSign up

alexbhai/obsidian-panel

By alexbhai

•Updated 2 months ago

Lightweight, easy Minecraft panel with infinite backups via Gofile.io

Image
Developer tools
Web servers
Content management system
1

3.3K

alexbhai/obsidian-panel repository overview

Image Name: obsidian-panel Base OS: Alpine Linux (via node:20-alpine) Architecture: Multi-stage build (Builder -> Runtime)

⁠2. System Utilities
  • bash: For script execution.
  • curl: For API health checks and file downloads.
  • zip / unzip: For backup compression and extraction.
⁠3. Application Layers
  • /app/backend: The Node.js server code.
  • /app/public: The compiled React frontend (static files).

⁠🔌 Ports Exposed

PortProtocolUsage
5000TCPWeb Panel (HTTP + WebSocket)
25565TCP/UDPMinecraft Java Edition (Default)
19132TCP/UDPMinecraft Bedrock Edition (Default)
24454TCP/UDPRCON (Remote Control)

⁠📂 Volumes (Persistence)

Internal PathDescriptionRecommended Host Mount
/minecraft_serverStores server JARs, world data, logs, and plugins.-v minecraft_data:/minecraft_server
/tmp/obsidian_backupsTemporary staging area for creating zip backups before upload.Optional (auto-cleaned)

⁠🔧 Environment Variables

VariableDefaultDescription
PORT5000Web server port.
NODE_ENVproductionOptimizes React/Express for performance.
MONGO_URIRequiredMongoDB connection string.
MONGO_DB_NAMEobsidian_panelDatabase name.
SESSION_SECRETRequiredSecret key for signing session cookies.
MC_SERVER_BASE_PATH/minecraft_serverWhere the Minecraft server runs.
JAVA_X_HOMEAuto-setPaths to Java 8, 17, 21 binaries.

⁠🏗️ Build Efficiency

  1. Stage 1 (Frontend): Uses node:20-alpine to compile React. Discards node_modules after build.
  2. Stage 2 (Backend): Installs only production dependencies (npm ci --only=production).
  3. Stage 3 (Final): Copies built assets and installs lightweight JREs.

Result: A production-ready image capable of running any modern Minecraft server with minimal overhead.

Tag summary

Content type

Image

Digest

sha256:aface8a48…

Size

339.1 MB

Last updated

2 months ago

docker pull alexbhai/obsidian-panel