-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
57 lines (55 loc) · 1.3 KB
/
docker-compose.dev.yml
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
version: '3.9'
services:
directus-db:
environment:
POSTGRES_PASSWORD: $DIRECTUS_DB_PASSWORD
directus:
build:
context: directus
depends_on:
- directus-db
ports:
- 8055:8055
volumes:
- ./directus/snapshot.yaml:/directus/snapshot.yaml
- ./directus/migrations:/directus/extensions/migrations
environment:
PUBLIC_URL: http://localhost:8055
KEY: $DIRECTUS_KEY
SECRET: $DIRECTUS_SECRET
DB_PASSWORD: $DIRECTUS_DB_PASSWORD
ADMIN_PASSWORD: $DIRECTUS_ADMIN_PASSWORD
CORS_ORIGIN: http://localhost:3000
chatwoot-db:
environment:
POSTGRES_PASSWORD: $CHATWOOT_DB_PASSWORD
profiles:
- chatwoot
chatwoot-cache:
profiles:
- chatwoot
chatwoot-sidekiq:
build:
context: chatwoot
depends_on:
- chatwoot-db
- chatwoot-cache
environment:
SECRET_KEY_BASE: $CHATWOOT_SECRET_KEY_BASE
POSTGRES_PASSWORD: $CHATWOOT_DB_PASSWORD
profiles:
- chatwoot
chatwoot-rails:
build:
context: chatwoot
depends_on:
- chatwoot-db
- chatwoot-cache
ports:
- 3001:3000
environment:
FRONTEND_URL: http://localhost:3001
SECRET_KEY_BASE: $CHATWOOT_SECRET_KEY_BASE
POSTGRES_PASSWORD: $CHATWOOT_DB_PASSWORD
profiles:
- chatwoot