-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
44 lines (43 loc) · 1.15 KB
/
docker-compose.yml
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
version: "3.7"
services:
redis:
image: redis
ports:
- "6379:6379"
scrapper:
build:
context: ./scraper
target: ${TARGET}
dockerfile: docker/${OFFER_RIDER_ARCHITECTURE}/Dockerfile
ports:
- "3000:3000"
links:
- redis
volumes:
- ./scraper:/scrapper
frontend:
build:
context: ./frontend
target: ${TARGET}
dockerfile: docker/${OFFER_RIDER_ARCHITECTURE}/Dockerfile
ports:
- "30002:80"
volumes:
- ./frontend/:/frontend/
search-service:
build:
context: ./search-service
target: ${TARGET}
environment:
- SEARCH_SERVICE_TASK_DELAY=${SEARCH_SERVICE_TASK_DELAY}
- SEARCH_SERVICE_TASK_INTERVAL=${SEARCH_SERVICE_TASK_INTERVAL}
ports:
- 30001:30001
search-db:
build:
context: ./search-service/db
dockerfile: ${OFFER_RIDER_ARCHITECTURE}/Dockerfile
environment:
- CREATE_DB=1
ports:
- 30000:3306