-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-testing.yml
More file actions
43 lines (39 loc) · 1 KB
/
docker-compose-testing.yml
File metadata and controls
43 lines (39 loc) · 1 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
version: "3.6"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:${STACK_VERSION}
container_name: elasticsearch-single
environment:
- discovery.type=single-node
- xpack.security.enabled=false
mem_limit: ${MEM_LIMIT}
ulimits:
memlock:
soft: -1
hard: -1
healthcheck:
test: curl -s -f http://localhost:9200/_cat/health >/dev/null || exit 1
interval: 10s
timeout: 10s
retries: 120
nosetests:
depends_on:
elasticsearch:
condition: service_healthy
image: "eiffel/geoss-search-service:${VERSION}-testing"
build:
context: .
dockerfile: testing.dockerfile
args:
VERSION: "${VERSION}"
command: ['-v']
volumes:
- type: bind
source: .
target: /work
working_dir: /work
user: 1000:1000
environment:
- ELASTIC_NODE=http://elasticsearch:9200
- QUANTIZE_MODEL=${QUANTIZE_MODEL}
- ELASTIC_INDEX=${ELASTIC_INDEX}