forked from Newer1107/project-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.chatwoot.yml
More file actions
72 lines (66 loc) · 1.78 KB
/
Copy pathdocker-compose.chatwoot.yml
File metadata and controls
72 lines (66 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
version: "3.8"
services:
chatwoot:
image: chatwoot/chatwoot:v4.14.0
environment:
- POSTGRES_HOST=chatwoot_db
- POSTGRES_USER=chatwoot
- POSTGRES_PASSWORD=chatwoot
- POSTGRES_DATABASE=chatwoot
- RAILS_ENV=production
- SECRET_KEY_BASE=${CHATWOOT_SECRET_KEY_BASE:-change-me}
- FRONTEND_URL=https://support.coe.example.com
- NODE_ENV=production
- INSTALLATION_ENV=docker
depends_on:
chatwoot_db:
condition: service_healthy
chatwoot_redis:
condition: service_started
volumes:
- chatwoot_storage:/app/storage
restart: unless-stopped
chatwoot_sidekiq:
image: chatwoot/chatwoot:v4.14.0
command: ["bundle", "exec", "sidekiq", "-C", "config/sidekiq.yml"]
environment:
- POSTGRES_HOST=chatwoot_db
- POSTGRES_USER=chatwoot
- POSTGRES_PASSWORD=chatwoot
- POSTGRES_DATABASE=chatwoot
- RAILS_ENV=production
- SECRET_KEY_BASE=${CHATWOOT_SECRET_KEY_BASE:-change-me}
- NODE_ENV=production
depends_on:
chatwoot_db:
condition: service_healthy
chatwoot_redis:
condition: service_started
restart: unless-stopped
chatwoot_db:
image: postgres:15
environment:
- POSTGRES_USER=chatwoot
- POSTGRES_PASSWORD=chatwoot
- POSTGRES_DB=chatwoot
volumes:
- chatwoot_pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U chatwoot"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
chatwoot_redis:
image: redis:7-alpine
volumes:
- chatwoot_redis_data:/data
restart: unless-stopped
volumes:
chatwoot_storage:
chatwoot_pgdata:
chatwoot_redis_data:
networks:
default:
name: project-dashboard
external: true