-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.26 KB
/
docker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.26 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.8'
services:
scraper:
build: .
container_name: dental-scraper
volumes:
- ./pdfs:/app/pdfs
- ./data:/app/data
- ./cache:/app/cache
- ./logs:/app/logs
environment:
- MONGO_URI=mongodb://mongodb:27017/dental_scraper
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
- TOR_PROXY=socks5h://tor-proxy:9050
depends_on:
- mongodb
- qdrant
- tor-proxy
dns:
- 8.8.8.8
- 8.8.4.4
networks:
- scraper-net
deploy:
resources:
limits:
memory: 2G
cpus: '2'
restart: unless-stopped
mongodb:
image: mongo:latest
container_name: dental-mongodb
volumes:
- mongodb_data:/data/db
networks:
- scraper-net
restart: unless-stopped
qdrant:
image: qdrant/qdrant:latest
container_name: dental-qdrant
volumes:
- qdrant_data:/qdrant/storage
networks:
- scraper-net
restart: unless-stopped
tor-proxy:
image: mattes/rotating-proxy:latest
container_name: dental-tor-proxy
environment:
- TOR_INSTANCES=5
- TOR_ROTATE_TIME=60
networks:
- scraper-net
restart: unless-stopped
networks:
scraper-net:
driver: bridge
volumes:
mongodb_data:
qdrant_data: