forked from italia/publiccode-crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (42 loc) · 887 Bytes
/
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
version: '3.3'
services:
# Crawler
devita_crawler:
container_name: devita_crawler
image: italia/developers-italia-backend
build:
context: ./
dockerfile: Dockerfile
env_file:
- .env
depends_on:
- devita_elasticsearch
networks:
- overlay
# Elasticsearch
devita_elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.7
container_name: devita_elasticsearch
env_file:
- .env
volumes:
- ./elasticsearch:/usr/share/elasticsearch/config
networks:
- overlay
ports:
- 9200:9200
- 9300:9300
# Kibana
devita_kibana:
container_name: "devita_kibana"
image: docker.elastic.co/kibana/kibana:6.8.7
env_file:
- .env
depends_on:
- devita_elasticsearch
ports:
- "5601:5601"
networks:
- overlay
networks:
overlay: