-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.yaml
83 lines (75 loc) · 1.94 KB
/
docker-compose.yaml
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
73
74
75
76
77
78
79
80
81
82
83
version: '3'
services:
postgres:
image: postgres:14
restart: always
ports:
- '5432:5432'
volumes:
- postgres:/data/postgres
environment:
- POSTGRES_DB=chatwoot
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
redis:
image: redis:alpine
restart: always
command: ["sh", "-c", "redis-server --requirepass \"password\""]
volumes:
- redis:/data/redis
ports:
- '6379:6379'
botpress:
image: botpress/server:v12_30_7
ports:
- '3001:3000'
chatwoot:
image: chatwoot/chatwoot:v2.13.1
environment:
- RAILS_ENV=production
- RAILS_LOG_TO_STDOUT=true
- SECRET_KEY_BASE=Testing1234
- POSTGRES_HOST=postgres
- POSTGRES_DATABASE=chatwoot
- POSTGRES_USERNAME=postgres
- POSTGRES_PASSWORD=password
- REDIS_URL=redis://redis:6379
- REDIS_PASSWORD=password
ports:
- '3000:3000'
depends_on:
- postgres
- redis
command: sh -c "bundle exec rails db:chatwoot_prepare; bundle exec rails s -b 0.0.0.0 -p 3000"
chatwoot-sidekiq:
image: chatwoot/chatwoot:v2.13.1
environment:
- RAILS_ENV=production
- RAILS_LOG_TO_STDOUT=true
- SECRET_KEY_BASE=Testing1234
- POSTGRES_HOST=postgres
- POSTGRES_DATABASE=chatwoot
- POSTGRES_USERNAME=postgres
- POSTGRES_PASSWORD=password
- REDIS_URL=redis://redis:6379
- REDIS_PASSWORD=password
depends_on:
- postgres
- redis
- chatwoot
command: sh -c "bundle exec sidekiq -C config/sidekiq.yml"
bridge:
image: douglara/chatwoot-botpress-bridge:1
environment:
- RAILS_ENV=production
- RAILS_LOG_TO_STDOUT=true
- SECRET_KEY_BASE=Testing1234
- BOTPRESS_ENDPOINT=http://botpress:3000
- BOTPRESS_BOT_ID=hello
- CHATWOOT_ENDPOINT=http://chatwoot:3000
- CHATWOOT_BOT_TOKEN=password
ports:
- '3002:3000'
volumes:
postgres:
redis: