diff --git a/blueprints/minepanel/docker-compose.yml b/blueprints/minepanel/docker-compose.yml new file mode 100644 index 000000000..d699b0df1 --- /dev/null +++ b/blueprints/minepanel/docker-compose.yml @@ -0,0 +1,28 @@ +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: diff --git a/blueprints/minepanel/minepanel.webp b/blueprints/minepanel/minepanel.webp new file mode 100644 index 000000000..21a6f7a46 Binary files /dev/null and b/blueprints/minepanel/minepanel.webp differ diff --git a/blueprints/minepanel/template.toml b/blueprints/minepanel/template.toml new file mode 100644 index 000000000..feb7be7f2 --- /dev/null +++ b/blueprints/minepanel/template.toml @@ -0,0 +1,29 @@ +[variables] +frontend_domain = "${domain}" +backend_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 = "${frontend_domain}" + +[[config.domains]] +serviceName = "backend" +port = 8_091 +host = "api-${backend_domain}" + +[config.env] +JWT_SECRET = "${jwt_secret}" +CLIENT_USERNAME = "${client_username}" +CLIENT_PASSWORD = "${client_password}" +FRONTEND_URL = "http://${frontend_domain}" +NEXT_PUBLIC_BACKEND_URL = "http://api-${backend_domain}" +NEXT_PUBLIC_DEFAULT_LANGUAGE = "${default_language}" +BASE_DIR = "/app" diff --git a/meta.json b/meta.json index ffff0e0ba..cf5ca7866 100644 --- a/meta.json +++ b/meta.json @@ -3921,6 +3921,24 @@ "storage" ] }, + { + "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": "mixpost", "name": "Mixpost",