forked from TBFY/knowledge-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 965 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 965 Bytes
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
version: '3.7'
x-common-variables:
- &common_environment_variables
API_PORT: 5050
FUSEKI_PLATFORM_IP: 'fuseki'
LOG_DIR: "/mnt/log"
LOG_LEVEL: "info"
LOG4J_FORMAT_MSG_NO_LOOKUPS: "true"
services:
pipeline:
hostname: pipeline
container_name: pipeline
build: ./pipeline
ports:
- '0.0.0.0:5050:5050'
environment:
<<: *common_environment_variables
restart: always
volumes:
- pipeline_input_data:/pipeline/data/
- log:/mnt/log
networks: [platform]
#Aqui es donde seria interesante crear una red compartida entre la plataforma en donde desplegar los rdf y el procesamiento de los datos
networks:
platform:
external:
name: fuseki_platform
#No se como realizar un volumen compartido en el contenedor con la maquina local que sirve de host para evitar hacer la copia de documentos al contenedor.
volumes:
pipeline_input_data:
driver: local
log:
driver: local