-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (32 loc) · 939 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (32 loc) · 939 Bytes
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
version: "3.9"
services:
goodchat:
image: goodregistry.azurecr.io/goodchat/goodchat:latest
ports:
- "8000:8000"
environment:
- PORT=8000
- GOODCHAT_AUTH_URL=https://my-json-server.typicode.com/crossroads/goodchat-mock-auth-server/authenticate
- GOODCHAT_AUTH_METHOD=GET
- DB_HOST=postgres_goodchat
- DB_CREDENTIALS=postgres:postgres
- DB_NAME=goodchat_database
- ENABLE_MIGRATIONS=true
- REDIS_URL=redis://redis_goodchat:6379
- NODE_ENV=development
- SMOOCH_APP_ID
- SMOOCH_API_KEY_ID
- SMOOCH_API_KEY_SECRET
postgres_goodchat:
image: postgres:latest
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=goodchat_database
volumes:
- goodchat_database_data:/var/lib/postgresql/data
redis_goodchat:
image: "redis:alpine"
volumes:
goodchat_database_data:
driver: local