summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSojan Jose <[email protected]>2020-04-26 21:32:27 +0530
committerGitHub <[email protected]>2020-04-26 12:02:27 -0400
commit37abf28c342eee9dab8054fa4d4bb1862c2958c4 (patch)
tree59b39655e886a2d7369d3f08bd4a950379f2094c
parentf1ff8d0fefa3bc58070e7d93d40df00912168a6b (diff)
downloadcaprover-one-click-apps-37abf28c342eee9dab8054fa4d4bb1862c2958c4.tar.gz
caprover-one-click-apps-37abf28c342eee9dab8054fa4d4bb1862c2958c4.zip
Chatwoot one click installation config (#163)
-rw-r--r--public/v2/apps/chatwoot.json111
-rw-r--r--public/v2/logos/chatwoot.pngbin0 -> 27668 bytes
2 files changed, 111 insertions, 0 deletions
diff --git a/public/v2/apps/chatwoot.json b/public/v2/apps/chatwoot.json
new file mode 100644
index 0000000..f6472bb
--- /dev/null
+++ b/public/v2/apps/chatwoot.json
@@ -0,0 +1,111 @@
+{
+ "captainVersion": "2",
+ "documentation": "Read more at: https://www.chatwoot.com/docs",
+ "displayName": "Chatwoot",
+ "description": "Open-source customer support saas alternative to Intercom, Drift, Crisp",
+ "dockerCompose": {
+ "version": "3.3",
+ "services": {
+ "$$cap_appname-postgres": {
+ "image": "postgres:11.6",
+ "notExposeAsWebApp": "true",
+ "volumes": [
+ "$$cap_appname-postgres-data:/var/lib/postgresql/data"
+ ],
+ "restart": "always",
+ "environment": {
+ "POSTGRES_USER": "chatwoot",
+ "POSTGRES_PASSWORD": "$$cap_chatwoot_postgres_password",
+ "POSTGRES_DB": "chatwoot"
+ }
+ },
+ "$$cap_appname-redis": {
+ "dockerfileLines": [
+ "FROM redis:alpine",
+ "CMD exec redis-server --requirepass \"$$cap_chatwoot_redis_password\""
+ ],
+ "notExposeAsWebApp": "true",
+ "volumes": [
+ "$$cap_appname-redis-data:/data"
+ ],
+ "restart": "always",
+ "environment": {
+ "REDIS_PASSWORD": "$$cap_chatwoot_redis_password"
+ }
+ },
+ "$$cap_appname-web": {
+ "containerHttpPort": "3000",
+ "dockerfileLines": [
+ "FROM chatwoot/chatwoot:$$cap_chatwoot_version",
+ "RUN chmod +x docker/entrypoints/rails.sh",
+ "ENTRYPOINT [\"docker/entrypoints/rails.sh\"]",
+ "EXPOSE 3000",
+ "CMD bundle exec rake db:setup; bundle exec rake db:migrate; bundle exec rails s -b 0.0.0.0 -p 3000"
+ ],
+ "restart": "always",
+ "environment": {
+ "RAIL_ENV": "production",
+ "RAILS_LOG_TO_STDOUT": "true",
+ "SECRET_KEY_BASE": "$$cap_chatwoot_secret_key_base",
+ "POSTGRES_HOST": "srv-captain--$$cap_appname-postgres",
+ "POSTGRES_DATABASE": "chatwoot",
+ "POSTGRES_USERNAME": "chatwoot",
+ "POSTGRES_PASSWORD": "$$cap_chatwoot_postgres_password",
+ "REDIS_URL": "redis://srv-captain--$$cap_appname-redis:6379",
+ "REDIS_PASSWORD": "$$cap_chatwoot_redis_password"
+ }
+ },
+ "$$cap_appname-worker": {
+ "dockerfileLines": [
+ "FROM chatwoot/chatwoot:$$cap_chatwoot_version",
+ "RUN chmod +x docker/entrypoints/rails.sh",
+ "ENTRYPOINT [\"docker/entrypoints/rails.sh\"]",
+ "CMD bundle exec sidekiq -C config/sidekiq.yml"
+ ],
+ "notExposeAsWebApp": "true",
+ "restart": "always",
+ "environment": {
+ "RAIL_ENV": "production",
+ "RAILS_LOG_TO_STDOUT": "true",
+ "SECRET_KEY_BASE": "$$cap_chatwoot_secret_key_base",
+ "POSTGRES_HOST": "srv-captain--$$cap_appname-postgres",
+ "POSTGRES_DATABASE": "chatwoot",
+ "POSTGRES_USERNAME": "chatwoot",
+ "POSTGRES_PASSWORD": "$$cap_chatwoot_postgres_password",
+ "REDIS_URL": "redis://srv-captain--$$cap_appname-redis:6379",
+ "REDIS_PASSWORD": "$$cap_chatwoot_redis_password"
+ }
+ }
+ }
+ },
+ "instructions": {
+ "start": "Open-source customer support saas alternative to Intercom, Drift, Crisp.",
+ "end": "Your Chatwoot instance is now successfully deployed. \n\n Refer https://www.chatwoot.com/docs/environment-variables/ for full list of environment variables available. Let us know if you have any queries through [email protected]"
+ },
+ "variables": [
+ {
+ "id": "$$cap_chatwoot_version",
+ "label": "Chatwoot Version Tag",
+ "description": "https://hub.docker.com/r/chatwoot/chatwoot/tags",
+ "defaultValue": "v1.3.0"
+ },
+ {
+ "id": "$$cap_chatwoot_secret_key_base",
+ "label": "Chatwoot Secret Key Base",
+ "description": "The randomized string which is used to verify the integrity of signed cookies. Please use a string with more than 26 characters",
+ "validRegex": "/^[^\\@]{26,}$/"
+ },
+ {
+ "id": "$$cap_chatwoot_postgres_password",
+ "label": "Postgres Password",
+ "description": "Password must be at least 12 characters. Please use a random string.",
+ "validRegex": "/^[^\\@]{12,}$/"
+ },
+ {
+ "id": "$$cap_chatwoot_redis_password",
+ "label": "Redis Password",
+ "description": "Password must be at least 12 characters. Please use a random string.",
+ "validRegex": "/^[^\\@]{12,}$/"
+ }
+ ]
+} \ No newline at end of file
diff --git a/public/v2/logos/chatwoot.png b/public/v2/logos/chatwoot.png
new file mode 100644
index 0000000..9b31f94
--- /dev/null
+++ b/public/v2/logos/chatwoot.png
Binary files differ