-
Notifications
You must be signed in to change notification settings - Fork 606
Fix Chatwoot deployment issues and improve configuration #1256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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
|
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be kept unchanged $$cap_gen_random_hex(38) ensures random default value
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.