-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
51 lines (48 loc) · 1.28 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
version: "3"
services:
mm-api:
container_name: mm-api
restart: "no"
build:
context: .
dockerfile: Dockerfile-dev
# When developing locally, disable auth. By default, API is configured
# to work with Okta's SSO saml system.
command: python pymm_run.py serve --no-auth
volumes:
- .:/matchminerAPI
ports:
- "5000:5000"
depends_on:
- mm-mongo
- mm-elastic
environment:
- SECRETS_JSON=./secrets_json_dev.json
- ONCOTREE_CUSTOM_DIR=./tests/data/oncotree_file.txt
networks:
- mm-dev-network
mm-mongo:
container_name: mm-mongo
restart: "no"
image: mongo
ports:
- "27017:27017"
networks:
- mm-dev-network
mm-elastic:
container_name: mm-elastic
restart: "no"
image: docker.elastic.co/elasticsearch/elasticsearch:6.8.12
ports:
- "9200:9200"
volumes:
- ./elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./elasticsearch/synonyms.txt:/usr/share/elasticsearch/config/synonyms.txt
- ./elasticsearch/backup:/backup
- ./elasticsearch/es_data:/usr/share/elasticsearch/data
networks:
- mm-dev-network
networks:
mm-dev-network:
# tell docker-compose to create the network
external: false