Instead of Intercom. A chat widget for your site, plus email, WhatsApp and social messages in one shared inbox. Conversations live in Postgres, backed up by moin. It needs its domain: its links point to it. Give it 4 GB of memory. Set the SMTP settings as env vars for invites and replies by email.
Chatwoot
Customer chat and shared inbox for your team.
moin deploy my-server --catalog chatwoot What moin deploys.
Its compose.yml. moin fills in the version and new secrets.
services:
web:
image: chatwoot/chatwoot:${VERSION}
expose: ["3000"]
entrypoint: docker/entrypoints/rails.sh
command: sh -c "unset VERSION && bundle exec rails db:chatwoot_prepare && bundle exec rails s -p 3000 -b 0.0.0.0"
environment: &env
RAILS_ENV: production
NODE_ENV: production
INSTALLATION_ENV: docker
SECRET_KEY_BASE: ${SECRET_KEY_BASE}
FRONTEND_URL: ${APP_URL}
FORCE_SSL: "false"
ENABLE_ACCOUNT_SIGNUP: "false"
POSTGRES_HOST: db
POSTGRES_USERNAME: chatwoot
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DATABASE: chatwoot
REDIS_URL: redis://redis:6379
volumes:
- ./data/storage:/app/storage
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
worker:
image: chatwoot/chatwoot:${VERSION}
command: ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"]
environment: *env
volumes:
- ./data/storage:/app/storage
depends_on:
db:
condition: service_healthy
redis:
condition: service_started
redis:
image: redis:8
db:
image: pgvector/pgvector:pg17
healthcheck:
test: ["CMD-SHELL", "pg_isready -U chatwoot -d chatwoot"]
interval: 5s
timeout: 5s
retries: 30
environment:
POSTGRES_USER: chatwoot
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_DB: chatwoot
volumes:
- ./data/postgres:/var/lib/postgresql/data
Backups
moin copies its Postgres database into your own bucket on a schedule. Every day it checks that a copy restores.
First sign-in
The first visit asks you to create the admin and your account.