Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (68 loc) · 1.77 KB
/
Copy pathdocker-compose.yml
File metadata and controls
73 lines (68 loc) · 1.77 KB
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
version: '3.8'
services:
frontend:
build: ./services/files
container_name: frontend
ports:
- "8002:8002"
restart: unless-stopped
networks:
- webnet
sparql-generator:
build: ./services/SPARQL-Generator
container_name: sparql-generator
ports:
- "8003:8003"
restart: unless-stopped
networks:
- webnet
gateway:
build: ./services/gateway
container_name: gateway
ports:
- "8000:8000"
restart: unless-stopped
depends_on:
- frontend
networks:
- webnet
fuseki:
image: stain/jena-fuseki
container_name: fuseki
ports:
- "3030:3030"
volumes:
- ./fuseki:/fuseki
environment:
- FUSEKI_DATASET=ds
- ADMIN_PASSWORD=admin
command: ["/jena-fuseki/fuseki-server", "--config=/fuseki/config.ttl"]
networks:
- webnet
fuseki-init:
build: ./services/fuseki-service
container_name: fuseki-init
depends_on:
- fuseki
volumes:
- ./pipeline-ontologie/resultats/ia-das-ontology-clean.ttl:/init/ia-das-ontology-clean.ttl
- ./pipeline-ontologie/resultats/variable-hierarchy-clean.ttl:/init/variable-hierarchy-clean.ttl
- ./pipeline-ontologie/resultats/sport-hierarchy-simple-clean.ttl:/init/sport-hierarchy-simple-clean.ttl
- ./pipeline-ontologie/skos-acad-enrichment.ttl:/init/skos-acad-enrichment.ttl
networks:
- webnet
database-service:
build: ./services/database-service
container_name: database-service
ports:
- "8005:8005"
volumes:
- ./fuseki:/app/fuseki
- ./pipeline-ontologie:/app/pipeline-ontologie
- ./stats_bdd.py:/app/stats_bdd.py
- /var/run/docker.sock:/var/run/docker.sock
networks:
- webnet
networks:
webnet:
driver: bridge