-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
82 lines (74 loc) · 1.46 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# To be used with poetry locally
#
# Requires:
# - poetry
# - python@3.8.0
version: "2.3"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch-oss:7.1.1
ports:
- "9200:9200"
- "9300:9300"
environment:
discovery.type: single-node
networks:
- default
volumes:
- es-data:/usr/share/elasticsearch/data
healthcheck:
test: ["CMD", "curl", "-f", "localhost:9200/_cluster/health?wait_for_status=green"]
interval: 30s
timeout: 10s
retries: 5
kibana:
image: docker.elastic.co/kibana/kibana-oss:7.1.1
depends_on:
elasticsearch:
condition: service_healthy
ports:
- 5601:5601
networks:
- default
redis:
image: redis:5.0.6
ports:
- 6379:6379
networks:
- default
postgres:
image: centos/postgresql-95-centos7
volumes:
- pgsql-data:/var/lib/pgsql/data
networks:
- default
ports:
- 5432:5432
env_file:
- .poetry.env
rabbitmq:
image: rabbitmq:3.8.2-management
env_file:
- .poetry.env
restart: "always"
ports:
- "15672:15672"
- "5672:5672"
networks:
- default
healthcheck:
test: ["CMD", "rabbitmqctl", "node_health_check"]
interval: 60s
timeout: 10s
retries: 3
tika:
image: apache/tika:1.24
ports:
- "9998:9998"
networks:
- default
networks:
default:
volumes:
es-data:
pgsql-data: