-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.ontop.yml
More file actions
21 lines (20 loc) · 943 Bytes
/
Copy pathdocker-compose.ontop.yml
File metadata and controls
21 lines (20 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.4'
services:
ontop:
image: ontop/ontop
environment:
ONTOP_ONTOLOGY_FILE: /opt/ontop/input/mapping.protege.ttl
ONTOP_MAPPING_FILE: /opt/ontop/input/mapping.protege.obda
ONTOP_PROPERTIES_FILE: /opt/ontop/input/mapping.protege.properties
ONTOP_PORTAL_FILE: /opt/ontop/input/mapping.protege.portal.toml
ONTOP_CORS_ALLOWED_ORIGINS: "*"
ONTOP_DEV_MODE: "true"
volumes:
# we map the properties file separately because db hostname and port change internally
- ./pinochet-rettig-linked-data/ontop/input/mapping.protege.properties:/opt/ontop/input/mapping.protege.properties
# files needed by ontop to map the ontology to the db
- ./pinochet-rettig-linked-data/ontop/datasets/pinochet-rettig/semantics:/opt/ontop/input
# postgres jdbc driver to connect to postgis
- ./pinochet-rettig-linked-data/ontop/jdbc:/opt/ontop/jdbc
ports:
- "8083:8080"