-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 1.06 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
version: '3'
services:
elasticsearch6:
image: docker.elastic.co/elasticsearch/elasticsearch:6.3.1
healthcheck:
interval: 30s
retries: 10
test: curl -s http://localhost:9200/_cluster/health | grep -vq '"status":"red"'
networks:
- djelme
elasticsearch8:
image: docker.elastic.co/elasticsearch/elasticsearch:8.19.11
environment:
- xpack.security.enabled=false
- discovery.type=single-node
healthcheck:
interval: 30s
retries: 10
test: curl -s http://localhost:9200/_cluster/health | grep -vq '"status":"red"'
networks:
- djelme
testbox:
build:
context: .
dockerfile: testbox.Containerfile
depends_on:
elasticsearch6:
condition: service_healthy
elasticsearch8:
condition: service_healthy
environment:
# TOXENV: py310-django42
ELASTICSEARCH6_URL: elasticsearch6:9200
ELASTICSEARCH8_URL: http://elasticsearch8:9200
networks:
- djelme
# volumes:
# - ./:/code:cached
networks:
djelme:
driver: bridge