-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 889 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
39 lines (36 loc) · 889 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
36
37
38
39
services:
db:
image: postgres:16
container_name: documind-postgres
environment:
POSTGRES_DB: documind
POSTGRES_USER: documind
POSTGRES_PASSWORD: documind
ports:
- "5432:5432"
volumes:
- documind_db:/var/lib/postgresql/data
ml-service:
build:
context: ./ml-service
container_name: documind-ml-service
ports:
- "8001:8001"
backend:
build:
context: ./backend
container_name: documind-backend
depends_on:
- db
- ml-service
ports:
- "5000:8080"
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_URLS: http://+:8080
ConnectionStrings__Default: Host=db;Port=5432;Database=documind;Username=documind;Password=documind
MlService__BaseUrl: http://ml-service:8001
volumes:
- ./backend/storage:/app/storage
volumes:
documind_db: