-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local.yml
66 lines (60 loc) · 1.17 KB
/
docker-compose.local.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
61
62
63
64
65
66
version: '3'
services:
solr:
image: solr:7.4.0
ports:
- "8983:8983"
volumes:
- solr_data:/opt/solr/server/solr/mycores
- ./docker/solr.in.sh:/opt/solr/bin/solr.in.sh
entrypoint:
- docker-entrypoint.sh
- solr-precreate
- dataSheet
networks:
- backend
logdb:
image: mariadb:10.3.9
expose:
- 3306
ports:
- "3306:3306"
restart: always
env_file:
- logdb.env
volumes:
- logdb_data:/var/lib/mysql
networks:
- backend
mss-server:
build: .
ports:
- "8080:8080"
depends_on:
- solr
volumes:
- ./hazard-ds/hazard-dataset:/hazard-ds/hazard-dataset:ro
networks:
- backend
test:
image: debian
depends_on:
- solr
volumes:
- ./hazard-ds/hazard-dataset:/hazard-ds/hazard-dataset:ro
- ./hazard-ds/fscMap.txt:/hazard-ds/fscMap.txt
- ./hazard-ds/fsgMap.txt:/hazard-ds/fsgMap.txt
tty: true
networks:
- backend
mss-client:
build: ./frontend/
environment:
- API_BASE_URL=http://localhost:8080
ports:
- "80:80"
volumes:
solr_data:
logdb_data:
networks:
backend: