Fix Chatwoot deployment issues and improve configuration#1256
Open
adfastltda wants to merge 12 commits intocaprover:masterfrom
Open
Fix Chatwoot deployment issues and improve configuration#1256adfastltda wants to merge 12 commits intocaprover:masterfrom
adfastltda wants to merge 12 commits intocaprover:masterfrom
Conversation
…age e command em vez de dockerfileLines
…UN e ENTRYPOINT desnecessários, e ajustar versão padrão
… worker para evitar erro de push
…woot-web, corrigindo erro 500
…nto e ajustar REDIS_URL conforme template de referência
…de push invalid reference format
Collaborator
|
Thanks for the PR! Looks like the build is failing. You can just run this command and it'll fix it |
…tar erro de push invalid reference format
…late de referência e atualizar versão
…para valores simples conforme template de referência
… para valores simples conforme template de refer??ncia
githubsaturn
reviewed
Nov 6, 2025
Collaborator
There was a problem hiding this comment.
Looks like minio file was unintentionally edited?
Feel free to submit as a separate PR.
| - id: $$cap_access_key | ||
| label: MinIO Root User Access Key | ||
| defaultValue: $$cap_gen_random_hex(24) | ||
| defaultValue: admin |
Collaborator
There was a problem hiding this comment.
Should be kept unchanged
| defaultValue: $$cap_gen_random_hex(38) | ||
| description: Secret key for `MINIO_ROOT_PASSWORD`. If unset, minio defaults to `minioadmin`. MinIO strongly recommends specifying a unique, long, and random value for all environments. | ||
| validRegex: /(.{8,})|(^\s{0}$)/m | ||
| defaultValue: password |
Collaborator
There was a problem hiding this comment.
Should be kept unchanged $$cap_gen_random_hex(38) ensures random default value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes several deployment issues with the Chatwoot one-click app and improves its configuration to match best practices and official deployment templates.
Changes Made
🔧 Fixed Deployment Issues
dockerfileLineswithimageandcommand: This resolves the "invalid reference format" error that occurred during image push when usingdockerfileLines. The app now uses the official image directly with custom commands, which is more reliable and avoids build/push issues.✨ Added Missing Configuration
Added essential environment variables:
NODE_ENV: productionFRONTEND_URL(configured for HTTPS)DEFAULT_LOCALE: enFORCE_SSL: falseENABLE_ACCOUNT_SIGNUP: trueREDIS_OPENSSL_VERIFY_MODE: noneRAILS_MAX_THREADS: 5TRUSTED_PROXIES: *INSTALLATION_ENV: docker(changed fromcaproverto match official template)Added persistent storage volumes:
/data/storagefor data storage/app/storageshared between web and worker servicesFixed REDIS_URL format: Updated to include username and password in the URL format:
redis://default:password@host:6379🗄️ Database Update
postgres:15topgvector/pgvector:pg17to support vector search capabilities (matching the official deployment template)📝 Version Update
3.1.1tov4.0.1to match the latest stable versionTesting
npm ci && npm run validate_apps && npm run formatter-writeRelated Issues
This PR fixes deployment errors that users were experiencing:
Files Changed
public/v4/apps/chatwoot.ymlNotes
All changes were tested and validated. The configuration now matches the official Chatwoot deployment template while maintaining compatibility with CapRover's one-click app system.