-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (36 loc) · 874 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (36 loc) · 874 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
40
41
version: "4.33.1"
services:
upload_service:
build: ./upload_service
ports:
- "8000:8000"
# environment:
# - DATABASE_URL=postgresql://user:password@db:5432/your_database
# depends_on:
# - db
chat_service:
build: ./chat_service
ports:
- "5000:5000"
# environment:
# - DATABASE_URL=postgresql://user:password@db:5432/your_database
# depends_on:
# - db
scrape_service:
build: ./scrape_service
ports:
- "6000:6000"
environment:
- DATABASE_URL=postgresql://user:password@db:5432/your_database
depends_on:
- db
db:
image: postgres:latest
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: your_database
volumes:
- db_data:/var/lib/postgresql/data
volumes:
db_data: