-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1.25 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
version: '3.8'
services:
# RDFminer-core
rdfminer:
restart: always
image: rdfminer-core:${RDFMINER_VERSION}
hostname: rdfminer
build:
context: ./RDFminer-core/.
args:
RDFMINER_VERSION: ${RDFMINER_VERSION}
RDFMINER_SERVER_PORT: ${RDFMINER_SERVER_PORT}
CORESE_PORT: ${CORESE_PORT}
HOME: ${RDFMINER_HOME}
command: launch
volumes:
- type: bind
source: ${RDFMINER_ROOT}/IO
target: /rdfminer/io
# RDFMiner-front
front:
restart: always
image: rdfminer-front:${RDFMINER_VERSION}
hostname: front
build:
context: ./RDFminer-front/.
args:
APP: /app
RDFMINER_FRONT_PORT: ${RDFMINER_FRONT_PORT}
RDFMINER_FRONT_ENDPOINT: ${RDFMINER_FRONT_ENDPOINT}
RDFMINER_FRONT_SOCKET_ENDPOINT: ${RDFMINER_FRONT_SOCKET_ENDPOINT}
ports:
- '${RDFMINER_FRONT_PORT}:${RDFMINER_FRONT_PORT}'
volumes:
- ./RDFminer-front/:/app/
- /app/node_modules
# MongoDB
mongo:
restart: always
image: mongo:6.0
hostname: mongo
ports:
- '${RDFMINER_SERVER_MONGODB_PORT}:${RDFMINER_SERVER_MONGODB_PORT}'
volumes:
- type: bind
source: ${RDFMINER_SERVER_MONGODB_DATAPATH}/data
target: /data/db