[PR #419] [CLOSED] Fix browserless template deployment issues and improve configuration -#418 #445

Closed
opened 2025-11-22 20:38:47 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/419
Author: @Harikrishnan1367709
Created: 10/3/2025
Status: Closed

Base: mainHead: Browserless-template-deployment-fails-#418


📝 Commits (1)

  • 388442b fix(browserless): resolve deployment issues and improve configuration - Fix typo: BROWERLESS_HOST → BROWSERLESS_HOST - Correct port format: 3_000 → 3000 - Add missing environment variables (ENABLE_CORS, ENABLE_XVFB, KEEP_ALIVE) - Update healthcheck endpoint from /docs to /health - Change image to latest version - Map external port 8080 to internal port 3000

📊 Changes

2 files changed (+12 additions, -8 deletions)

View changed files

📝 blueprints/browserless/docker-compose.yml (+10 -6)
📝 blueprints/browserless/template.toml (+2 -2)

📄 Description

Problem

Browserless template deployment fails with "No route or file found" error when accessing the domain, despite successful container startup.

Root Cause

  • Typo in environment variable name (BROWERLESS_HOST instead of BROWSERLESS_HOST)
  • Incorrect port format (3_000 instead of 3000)
  • Missing essential environment variables for web interface
  • Wrong healthcheck endpoint (/docs instead of /health)

Changes Made

  • Fixed environment variable typo
  • Corrected port format and mapping (8080:3000)
  • Added missing environment variables (ENABLE_CORS, ENABLE_XVFB, KEEP_ALIVE)
  • Updated healthcheck to use /health endpoint
  • Changed image to latest version
  • Improved port configuration for better external access

Testing

  • Template now deploys successfully
  • Domain accessible on port 8080
  • Health checks pass correctly
  • API endpoints functional

Fixes #418


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/419 **Author:** [@Harikrishnan1367709](https://github.com/Harikrishnan1367709) **Created:** 10/3/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `Browserless-template-deployment-fails-#418` --- ### 📝 Commits (1) - [`388442b`](https://github.com/Dokploy/templates/commit/388442b8a2761e1f54a8841333c493cbe2ca68dd) fix(browserless): resolve deployment issues and improve configuration - Fix typo: BROWERLESS_HOST → BROWSERLESS_HOST - Correct port format: 3_000 → 3000 - Add missing environment variables (ENABLE_CORS, ENABLE_XVFB, KEEP_ALIVE) - Update healthcheck endpoint from /docs to /health - Change image to latest version - Map external port 8080 to internal port 3000 ### 📊 Changes **2 files changed** (+12 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/browserless/docker-compose.yml` (+10 -6) 📝 `blueprints/browserless/template.toml` (+2 -2) </details> ### 📄 Description ## Problem Browserless template deployment fails with "No route or file found" error when accessing the domain, despite successful container startup. ## Root Cause - Typo in environment variable name (`BROWERLESS_HOST` instead of `BROWSERLESS_HOST`) - Incorrect port format (`3_000` instead of `3000`) - Missing essential environment variables for web interface - Wrong healthcheck endpoint (`/docs` instead of `/health`) ## Changes Made - ✅ Fixed environment variable typo - ✅ Corrected port format and mapping (8080:3000) - ✅ Added missing environment variables (ENABLE_CORS, ENABLE_XVFB, KEEP_ALIVE) - ✅ Updated healthcheck to use `/health` endpoint - ✅ Changed image to latest version - ✅ Improved port configuration for better external access ## Testing - Template now deploys successfully - Domain accessible on port 8080 - Health checks pass correctly - API endpoints functional Fixes #418 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-22 20:38:47 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#445