mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Feat/minepanel template (#657)
* feat: add Minepanel template * fix: pin images to v1.7.1 and use http for URLs * fix: remove explicit ports, Dokploy handles proxying * chore: process and sort meta.json * fix: consolidate domain variables to main_domain * fix: add version field to docker-compose.yml
This commit is contained in:
committed by
GitHub
parent
51750f2b1b
commit
b2e91749d3
29
blueprints/minepanel/docker-compose.yml
Normal file
29
blueprints/minepanel/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
backend:
|
||||
image: ketbom/minepanel-backend:1.7.1
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
- FRONTEND_URL=${FRONTEND_URL}
|
||||
- JWT_SECRET=${JWT_SECRET}
|
||||
- CLIENT_PASSWORD=${CLIENT_PASSWORD}
|
||||
- CLIENT_USERNAME=${CLIENT_USERNAME}
|
||||
- BASE_DIR=${BASE_DIR}
|
||||
volumes:
|
||||
- minepanel-servers:/app/servers
|
||||
- minepanel-data:/app/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
frontend:
|
||||
image: ketbom/minepanel-frontend:1.7.1
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NEXT_PUBLIC_BACKEND_URL=${NEXT_PUBLIC_BACKEND_URL}
|
||||
- NEXT_PUBLIC_DEFAULT_LANGUAGE=${NEXT_PUBLIC_DEFAULT_LANGUAGE}
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
volumes:
|
||||
minepanel-servers:
|
||||
minepanel-data:
|
||||
BIN
blueprints/minepanel/minepanel.webp
Normal file
BIN
blueprints/minepanel/minepanel.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
28
blueprints/minepanel/template.toml
Normal file
28
blueprints/minepanel/template.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
jwt_secret = "${base64:32}"
|
||||
client_username = "admin"
|
||||
client_password = "${password:16}"
|
||||
default_language = "en"
|
||||
|
||||
[config]
|
||||
mounts = []
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "frontend"
|
||||
port = 3_000
|
||||
host = "${main_domain}"
|
||||
|
||||
[[config.domains]]
|
||||
serviceName = "backend"
|
||||
port = 8_091
|
||||
host = "api-${main_domain}"
|
||||
|
||||
[config.env]
|
||||
JWT_SECRET = "${jwt_secret}"
|
||||
CLIENT_USERNAME = "${client_username}"
|
||||
CLIENT_PASSWORD = "${client_password}"
|
||||
FRONTEND_URL = "http://${main_domain}"
|
||||
NEXT_PUBLIC_BACKEND_URL = "http://api-${main_domain}"
|
||||
NEXT_PUBLIC_DEFAULT_LANGUAGE = "${default_language}"
|
||||
BASE_DIR = "/app"
|
||||
18
meta.json
18
meta.json
@@ -3906,6 +3906,24 @@
|
||||
"media"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "minepanel",
|
||||
"name": "Minepanel",
|
||||
"version": "1.7.1",
|
||||
"description": "Web panel for managing Minecraft servers with Docker. Create, configure, start/stop, and monitor multiple instances from a modern UI.",
|
||||
"logo": "minepanel.webp",
|
||||
"links": {
|
||||
"github": "https://github.com/Ketbome/minepanel",
|
||||
"website": "https://minepanel.ketbome.lat",
|
||||
"docs": "https://minepanel.ketbome.lat"
|
||||
},
|
||||
"tags": [
|
||||
"gaming",
|
||||
"minecraft",
|
||||
"server-management",
|
||||
"docker"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "minio",
|
||||
"name": "Minio",
|
||||
|
||||
Reference in New Issue
Block a user