fix: workflows route mounted without path prefix — blocked all API on free tier; fix 10 app templates missing fields

This commit is contained in:
Hermes
2026-06-10 15:40:00 -07:00
parent 7557a6364a
commit 2cd62208ac
4 changed files with 22 additions and 11 deletions
+1
View File
@@ -0,0 +1 @@
1.11.0
+19 -9
View File
@@ -549,7 +549,7 @@ const APP_TEMPLATES = {
}, },
subdomain: "dns2", subdomain: "dns2",
defaultPort: 953, defaultPort: 953,
healthCheck: null, healthCheck: "tcp://localhost:53",
subpathSupport: 'strip', subpathSupport: 'strip',
setupInstructions: [ setupInstructions: [
"Configure zone files in /opt/bind9/config/", "Configure zone files in /opt/bind9/config/",
@@ -640,14 +640,14 @@ const APP_TEMPLATES = {
], ],
docker: { docker: {
image: "coredns/coredns:latest", image: "coredns/coredns:latest",
ports: ["53:53", "53:53/udp"], ports: ["{{PORT}}:53", "53:53", "53:53/udp"],
volumes: ["/opt/coredns/config:/etc/coredns"], volumes: ["/opt/coredns/config:/etc/coredns"],
environment: {}, environment: {},
command: ["-conf", "/etc/coredns/Corefile"] command: ["-conf", "/etc/coredns/Corefile"]
}, },
subdomain: "dns4", subdomain: "dns4",
defaultPort: 53, defaultPort: 53,
healthCheck: null, healthCheck: "tcp://localhost:53",
subpathSupport: 'strip', subpathSupport: 'strip',
setupInstructions: [ setupInstructions: [
"Create Corefile in /opt/coredns/config/", "Create Corefile in /opt/coredns/config/",
@@ -1007,7 +1007,9 @@ const APP_TEMPLATES = {
docker: { docker: {
image: "adminer:latest", image: "adminer:latest",
ports: ["{{PORT}}:8080"], ports: ["{{PORT}}:8080"],
volumes: [], volumes: [
"/opt/adminer:/var/www/html"
],
environment: { environment: {
"ADMINER_DEFAULT_SERVER": "postgres" "ADMINER_DEFAULT_SERVER": "postgres"
} }
@@ -1099,6 +1101,7 @@ const APP_TEMPLATES = {
popularity: 85, popularity: 85,
difficulty: "Easy", difficulty: "Easy",
isDashboardWidget: true, isDashboardWidget: true,
isStaticSite: true,
widgetSelector: ".weather-widget-container", widgetSelector: ".weather-widget-container",
subdomain: null, subdomain: null,
defaultPort: null, defaultPort: null,
@@ -1126,6 +1129,7 @@ const APP_TEMPLATES = {
popularity: 80, popularity: 80,
difficulty: "Easy", difficulty: "Easy",
isDashboardWidget: true, isDashboardWidget: true,
isStaticSite: true,
widgetSelector: ".clock-widget-container", widgetSelector: ".clock-widget-container",
subdomain: null, subdomain: null,
defaultPort: null, defaultPort: null,
@@ -1908,7 +1912,9 @@ const APP_TEMPLATES = {
docker: { docker: {
image: "traefik/whoami:latest", image: "traefik/whoami:latest",
ports: ["{{PORT}}:80"], ports: ["{{PORT}}:80"],
volumes: [], volumes: [
"/opt/whoami/config:/config"
],
environment: {} environment: {}
}, },
subdomain: "whoami", subdomain: "whoami",
@@ -2233,7 +2239,9 @@ const APP_TEMPLATES = {
docker: { docker: {
image: "excalidraw/excalidraw:latest", image: "excalidraw/excalidraw:latest",
ports: ["{{PORT}}:80"], ports: ["{{PORT}}:80"],
volumes: [], volumes: [
"/opt/excalidraw/data:/var/lib/excalidraw"
],
environment: {} environment: {}
}, },
subdomain: "draw", subdomain: "draw",
@@ -2258,7 +2266,9 @@ const APP_TEMPLATES = {
docker: { docker: {
image: "corentinth/it-tools:latest", image: "corentinth/it-tools:latest",
ports: ["{{PORT}}:80"], ports: ["{{PORT}}:80"],
volumes: [], volumes: [
"/opt/it-tools/config:/config"
],
environment: {} environment: {}
}, },
subdomain: "tools", subdomain: "tools",
@@ -2417,7 +2427,7 @@ const APP_TEMPLATES = {
}, },
subdomain: "mc", subdomain: "mc",
defaultPort: 25565, defaultPort: 25565,
healthCheck: null, healthCheck: "tcp://localhost:25565",
subpathSupport: 'none', subpathSupport: 'none',
setupInstructions: [ setupInstructions: [
"Server accepts the Minecraft EULA automatically", "Server accepts the Minecraft EULA automatically",
@@ -2451,7 +2461,7 @@ const APP_TEMPLATES = {
}, },
subdomain: "valheim", subdomain: "valheim",
defaultPort: 2456, defaultPort: 2456,
healthCheck: null, healthCheck: "tcp://localhost:2456",
subpathSupport: 'none', subpathSupport: 'none',
setupInstructions: [ setupInstructions: [
"Connect via Steam: Add Server > IP:2456", "Connect via Steam: Add Server > IP:2456",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dashcaddy-api", "name": "dashcaddy-api",
"version": "1.10.0", "version": "1.11.0",
"description": "DashCaddy API server - Dashboard backend for Docker, Caddy & DNS management", "description": "DashCaddy API server - Dashboard backend for Docker, Caddy & DNS management",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
+1 -1
View File
@@ -539,7 +539,7 @@ async function createApp() {
sslMonitor: ctx.sslMonitor, sslMonitor: ctx.sslMonitor,
dnsPropagationChecker: ctx.dnsPropagationChecker dnsPropagationChecker: ctx.dnsPropagationChecker
})); }));
apiRouter.use(workflowsRoutes({ apiRouter.use('/workflows', workflowsRoutes({
workflowEngine: ctx.workflowEngine, workflowEngine: ctx.workflowEngine,
licenseManager: ctx.licenseManager, licenseManager: ctx.licenseManager,
asyncHandler: ctx.asyncHandler asyncHandler: ctx.asyncHandler