forked from verifywise-ai/verifywise
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (65 loc) · 1.62 KB
/
docker-compose.yml
File metadata and controls
67 lines (65 loc) · 1.62 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
version: '3.9'
services:
postgresdb:
image: postgres:16.8
ports:
- $LOCAL_DB_PORT:$DB_PORT
volumes:
- db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=$DB_USER
- POSTGRES_PASSWORD=$DB_PASSWORD
- POSTGRES_DB=$DB_NAME
healthcheck:
test: ["CMD", "pg_isready", "-U", "$DB_USER", "-d", "$DB_NAME"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7
ports:
- "6379"
restart: unless-stopped
backend:
depends_on:
postgresdb:
condition: service_healthy
image: ghcr.io/bluewave-labs/verifywise-backend:latest
pull_policy: always
ports:
- $BACKEND_PORT:$BACKEND_PORT
environment:
- PORT=$BACKEND_PORT
- DB_HOST=postgresdb
- DB_USER=$DB_USER
- DB_PORT=$DB_PORT
- DB_PASSWORD=$DB_PASSWORD
- DB_NAME=$DB_NAME
- MOCK_DATA_ON=$MOCK_DATA_ON
- JWT_SECRET=$JWT_SECRET
- SMTP_HOST=smtp.gmail.com
- SMTP_PORT=587
- FAIRNESS_AND_BIAS_URL=http://bias_and_fairness_backend:8000
frontend:
depends_on:
- backend
image: ghcr.io/bluewave-labs/verifywise-frontend:latest
pull_policy: always
bias_and_fairness_backend:
depends_on:
- backend
- redis
image: ghcr.io/bluewave-labs/verifywise-bias-and-fairness-backend:latest
# pull_policy: always
ports:
- "8000"
environment:
- DB_HOST=postgresdb
- DB_USER=$DB_USER
- DB_PORT=$DB_PORT
- DB_PASSWORD=$DB_PASSWORD
- DB_NAME=$DB_NAME
- BACKEND_URL=http://backend:$BACKEND_PORT
- REDIS_URL=redis://redis:6379/0
volumes:
db: