-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
97 lines (97 loc) · 2.64 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
version: '3.8'
services:
# RDFminer-core
rdfminer:
restart: always
image: rdfminer-core:${RDFMINER_VERSION}
hostname: rdfminer
build:
context: ./RDFminer-core/.
args:
RDFMINER_CORE_PORT: ${RDFMINER_CORE_PORT}
RDFMINER_VERSION: ${RDFMINER_VERSION}
RDFMINER_SERVER_PORT: ${RDFMINER_SERVER_PORT}
CORESE_PORT: ${CORESE_PORT}
HOME: ${RDFMINER_HOME}
command: launch
ports:
- '${RDFMINER_CORE_PORT}:${RDFMINER_CORE_PORT}'
volumes:
- type: bind
source: ./IO
target: /rdfminer/io
depends_on:
- corese
# RDFminer-server
server:
restart: always
image: rdfminer-server:${RDFMINER_VERSION}
hostname: server
build:
context: ./RDFminer-server/.
args:
RDFMINER_SERVER_PORT: ${RDFMINER_SERVER_PORT}
RDFMINER_SERVER_MONGODB_PORT: ${RDFMINER_SERVER_MONGODB_PORT}
RDFMINER_SERVER_MONGODB_CONNECTION: ${RDFMINER_SERVER_MONGODB_CONNECTION}
RDFMINER_SERVER_AUTH_KEY: ${RDFMINER_SERVER_AUTH_KEY}
RDFMINER_SERVER_MONGODB_DATAPATH: ${RDFMINER_SERVER_MONGODB_DATAPATH}
RDFMINER_SERVER_REDIS_PORT: ${RDFMINER_SERVER_REDIS_PORT}
ports:
- '${RDFMINER_SERVER_PORT}:${RDFMINER_SERVER_PORT}'
# volumes:
# - /app/node_modules
depends_on:
- mongo
- redis
- rdfminer
# RDFminer-front
front:
restart: always
image: rdfminer-front:${RDFMINER_VERSION}
hostname: front
build:
context: ./RDFminer-front/.
args:
RDFMINER_SERVER_PORT: ${RDFMINER_SERVER_PORT}
RDFMINER_FRONT_MOD: ${RDFMINER_FRONT_MOD}
ports:
- '${RDFMINER_FRONT_PORT}:${RDFMINER_FRONT_PORT}'
# volumes:
# - /app/node_modules
depends_on:
- server
# Corese
corese:
restart: always
image: corese:${CORESE_VERSION}
hostname: corese
build:
context: ./corese/corese-server/build-docker/corese/.
args:
CORESE_VERSION: $CORESE_VERSION
CORESE_PORT: $CORESE_PORT
CORESE_STORAGE: $CORESE_STORAGE
ports:
- '${CORESE_PORT}:${CORESE_PORT}'
# 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
# Redis-server
redis:
restart: always
image: redis:7.2.4-alpine
hostname: redis
ports:
- '${RDFMINER_SERVER_REDIS_PORT}:${RDFMINER_SERVER_REDIS_PORT}'
volumes:
- type: bind
source: ${RDFMINER_SERVER_REDIS_DATAPATH}/data
target: /data