-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
53 lines (47 loc) · 1.15 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
version: '2.1'
services:
verifier_base:
build:
context: .
dockerfile: dock/bootstrap_Dockerfile
healthcheck:
test: curl localhost:3000
interval: 1s
timeout: 10s
retries: 120
environment:
APP_UID:
APP_GID:
ELASTICSEARCH_HOSTS: http://docker-host:9200/
FLASK_ENV: 'development'
ports:
- '3000:3000'
volumes:
- '.:/src'
working_dir: '/src'
command: bash -c 'dock/initialize && dock/datastore_setup && dock/run'
verifier:
extends:
service: verifier_base
depends_on:
elasticsearch:
condition: service_healthy
verifier_test:
extends:
service: verifier_base
depends_on:
elasticsearch_test:
condition: service_healthy
elasticsearch:
extends:
service: elasticsearch_dev_base
image: 'elasticsearch:1.7-latest'
command: ['elasticsearch', '--action.write_consistency=one']
elasticsearch_test:
extends:
file: $BASE_COMPOSE
service: elasticsearch_test_base
image: 'elasticsearch:1.7-latest'
command: ['elasticsearch', '--action.write_consistency=one']
volumes:
elasticsearch: