forked from prakhar1989/FoodTrucks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
56 lines (53 loc) · 1.16 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
45
46
47
48
49
50
51
52
53
54
55
56
version: '3'
services:
# es:
# image: docker.elastic.co/elasticsearch/elasticsearch:6.3.2
# container_name: es
# environment:
# - discovery.type=single-node
# ports:
# - 9200:9200
# volumes:
# - esdata1:/usr/share/elasticsearch/data
mongo:
image: mongo:latest
container_name: mongo
environment:
- discovery.type=single-node
ports:
- 27017:27017
scrapy:
image: magicjf/scraper
container_name: scrapy
environment:
- discovery.type=single-node
command:
[
'python3',
'./launcher.py',
"{ 'spider_name': 'header_spider', 'spider_kwargs': { 'start_urls': ['https://lavanguardia.com'] }}",
]
depends_on:
- mongo
wallabot:
image: magicjf/wallabot
container_name: wallabot
environment:
- discovery.type=single-node
depends_on:
- mongo
# foodtrucksweb:
# build: .
# container_name: foodtrucksweb
# command: python3 app.py
# environment:
# - DEBUG=True
# depends_on:
# - es
# ports:
# - 5000:5000
# volumes:
# - ./flask-app:/opt/flask-app
volumes:
esdata1:
driver: local