mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
add 23 requested stacks from container-requests list
Tdarr, Grocy, Dashy, Traefik, Fider, Twenty CRM, Outline, Chatwoot, ComfyUI, Picard, VoidAuth, Tinyauth, Tugtainer, Sencho, Authelia, Mail Archiver, ITFlow, Notifuse, Maybe Finance, DumbBudget, Silverpeas, Portus, Obsidian — all as _dev stacks following repo conventions. Harbor and Exportify moved to 'Apps That Will Not be in the Repo' (installer-generated compose / no published image). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
# Chatwoot
|
||||
|
||||
## Overview
|
||||
|
||||
Open-source customer support and live chat platform.
|
||||
|
||||
## Project Details
|
||||
|
||||
- **Project Repository:** [GitHub](https://github.com/chatwoot/chatwoot)
|
||||
- **Container Image:** [chatwoot/chatwoot](https://hub.docker.com/r/chatwoot/chatwoot)
|
||||
- **Documentation:** [chatwoot.com](https://www.chatwoot.com/docs/self-hosted)
|
||||
- **Reverse Proxy Port:** `3000`
|
||||
|
||||
## Getting Started
|
||||
|
||||
1. Start the container: `docker compose up -d`
|
||||
2. Open http://localhost:3000 in your browser
|
||||
3. Follow the initial setup wizard to configure the application
|
||||
|
||||
## Environment Variable Notes
|
||||
|
||||
CHATWOOT_SECRET_KEY_BASE – generate with `openssl rand -hex 64`
|
||||
CHATWOOT_FRONTEND_URL – public URL of the instance
|
||||
|
||||
## Volume Notes
|
||||
|
||||
/app/storage – uploaded attachments (shared by rails and sidekiq)
|
||||
/var/lib/postgresql/data – PostgreSQL data (pgvector image required)
|
||||
|
||||
## Network Notes
|
||||
|
||||
Requires proxy network
|
||||
|
||||
## Docker Run
|
||||
|
||||
```bash
|
||||
docker run -d \
|
||||
--name chatwoot \
|
||||
-p 3000:3000 \
|
||||
-e SECRET_KEY_BASE=changeme \
|
||||
-e FRONTEND_URL=http://localhost:3000 \
|
||||
-e POSTGRES_HOST=dbhost -e POSTGRES_USERNAME=chatwoot \
|
||||
-e POSTGRES_PASSWORD=pass -e REDIS_URL=redis://redishost:6379 \
|
||||
chatwoot/chatwoot:latest bundle exec rails s -p 3000 -b 0.0.0.0
|
||||
```
|
||||
|
||||
## Additional Notes / Gotchas
|
||||
|
||||
Before first run, prepare the database once:
|
||||
`docker compose run --rm chatwoot bundle exec rails db:chatwoot_prepare`
|
||||
Chatwoot requires the pgvector Postgres extension, hence the pgvector image.
|
||||
|
||||
## Dockhand Stack, Deploy from Git
|
||||
|
||||
Cookbooks Repository
|
||||
stackname: chatwoot_dev
|
||||
Compose file path: chatwoot_dev/compose.yaml
|
||||
Additional env file (optional): chatwoot_dev/sample.env
|
||||
|
||||
Then "Load" chatwoot_dev/sample.env into the Environmental variables in dockhand
|
||||
|
||||
Create the Stack
|
||||
@@ -0,0 +1,83 @@
|
||||
services:
|
||||
chatwoot:
|
||||
image: ${CHATWOOT_IMAGE:-chatwoot/chatwoot:latest}
|
||||
restart: ${CHATWOOT_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/chatwoot/storage:/app/storage
|
||||
environment:
|
||||
- SECRET_KEY_BASE=${CHATWOOT_SECRET_KEY_BASE:-ChangeThisPassword}
|
||||
- FRONTEND_URL=${CHATWOOT_FRONTEND_URL:-http://localhost:3000}
|
||||
- RAILS_ENV=production
|
||||
- POSTGRES_HOST=chatwoot-db
|
||||
- POSTGRES_USERNAME=chatwoot
|
||||
- POSTGRES_PASSWORD=${CHATWOOT_DB_PASSWORD:-ChangeThisPassword}
|
||||
- POSTGRES_DATABASE=chatwoot
|
||||
- REDIS_URL=redis://chatwoot-redis:6379
|
||||
ports:
|
||||
- ${CHATWOOT_PORT:-3000}:3000
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
depends_on:
|
||||
- chatwoot-db
|
||||
- chatwoot-redis
|
||||
command:
|
||||
- bundle
|
||||
- exec
|
||||
- rails
|
||||
- s
|
||||
- -p
|
||||
- "3000"
|
||||
- -b
|
||||
- 0.0.0.0
|
||||
|
||||
chatwoot-sidekiq:
|
||||
image: ${CHATWOOT_IMAGE:-chatwoot/chatwoot:latest}
|
||||
restart: ${CHATWOOT_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/chatwoot/storage:/app/storage
|
||||
environment:
|
||||
- SECRET_KEY_BASE=${CHATWOOT_SECRET_KEY_BASE:-ChangeThisPassword}
|
||||
- FRONTEND_URL=${CHATWOOT_FRONTEND_URL:-http://localhost:3000}
|
||||
- RAILS_ENV=production
|
||||
- POSTGRES_HOST=chatwoot-db
|
||||
- POSTGRES_USERNAME=chatwoot
|
||||
- POSTGRES_PASSWORD=${CHATWOOT_DB_PASSWORD:-ChangeThisPassword}
|
||||
- POSTGRES_DATABASE=chatwoot
|
||||
- REDIS_URL=redis://chatwoot-redis:6379
|
||||
networks:
|
||||
- internal
|
||||
depends_on:
|
||||
- chatwoot-db
|
||||
- chatwoot-redis
|
||||
command:
|
||||
- bundle
|
||||
- exec
|
||||
- sidekiq
|
||||
- -C
|
||||
- config/sidekiq.yml
|
||||
|
||||
chatwoot-db:
|
||||
image: ${PGVECTOR_IMAGE:-pgvector/pgvector:pg16}
|
||||
restart: ${CHATWOOT_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/chatwoot/db:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=chatwoot
|
||||
- POSTGRES_USER=chatwoot
|
||||
- POSTGRES_PASSWORD=${CHATWOOT_DB_PASSWORD:-ChangeThisPassword}
|
||||
networks:
|
||||
- internal
|
||||
|
||||
chatwoot-redis:
|
||||
image: ${REDIS_IMAGE:-redis:7-alpine}
|
||||
restart: ${CHATWOOT_RESTART:-unless-stopped}
|
||||
volumes:
|
||||
- ${VOL_PATH:-/data}/chatwoot/redis:/data
|
||||
networks:
|
||||
- internal
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
internal:
|
||||
@@ -0,0 +1,10 @@
|
||||
# Chatwoot
|
||||
VOL_PATH=/data
|
||||
CHATWOOT_IMAGE=chatwoot/chatwoot:latest
|
||||
PGVECTOR_IMAGE=pgvector/pgvector:pg16
|
||||
REDIS_IMAGE=redis:7-alpine
|
||||
CHATWOOT_RESTART=unless-stopped
|
||||
CHATWOOT_PORT=3000
|
||||
CHATWOOT_FRONTEND_URL=http://localhost:3000
|
||||
CHATWOOT_SECRET_KEY_BASE=ChangeThisPassword
|
||||
CHATWOOT_DB_PASSWORD=ChangeThisPassword
|
||||
Reference in New Issue
Block a user