-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
60 lines (60 loc) · 1.51 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
version: "3"
services:
elasticsearch:
platform: linux/x86_64
image: elasticsearch:6.8.12
volumes:
- ./elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml
- ./synonyms.txt:/usr/share/elasticsearch/config/synonyms.txt
networks:
- mm-dev-network
matchminer-api:
platform: linux/x86_64
build:
context: ${MATCHMINER_BUILD_PATH:-/tmp/nowhere}/matchminer-api
image: matchminer/matchminer-api:latest
read_only: true
volumes:
- ./secrets.json:/secrets.json
tmpfs:
- /tmp
- /var/tmp
environment:
SECRETS_JSON: /secrets.json
networks:
- mm-dev-network
mongo:
image: mongo:6.0-focal
command: mongod --replSet=rs0 --setParameter maxLogSizeKB=1 --wiredTigerCacheSizeGB=1 --quiet
volumes:
- ./mongo-seed:/mongo-seed:ro
- ./mongo-init:/docker-entrypoint-initdb.d:ro
tmpfs:
- /tmp
networks:
- mm-dev-network
matchminer-ui:
platform: linux/x86_64
build:
context: ${MATCHMINER_BUILD_PATH:-/tmp/nowhere}/matchminer-ui
image: matchminer/matchminer-ui:latest
stop_signal: SIGKILL # service is stateless, can be stopped immediately
read_only: true
ports:
- "1952:80"
depends_on:
- matchminer-api
environment:
CONFIG_JSON: /config.json
volumes:
- ./config.json:/config.json
tmpfs:
- /tmp
- /var/cache/nginx
- /var/run
networks:
- mm-dev-network
networks:
mm-dev-network:
# tell docker-compose to create the network
external: false