-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.yml
40 lines (39 loc) · 1.07 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
version: "3.4"
services:
db:
image: ontopicvkg/destination-tutorial-db
env_file: .env
shm_size: 1g
restart: unless-stopped
ports:
- "${MAPPED_POSTGRES_PORT}:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres2
ontop:
image: ontop/ontop
env_file: .env
restart: unless-stopped
environment:
ONTOP_ONTOLOGY_FILE: /opt/ontop/input/dest.ttl
ONTOP_XML_CATALOG_FILE: /opt/ontop/input/catalog-v001.xml
ONTOP_MAPPING_FILE: /opt/ontop/input/dest.obda
ONTOP_PROPERTIES_FILE: /opt/ontop/input/dest.docker.properties
ONTOP_PORTAL_FILE: /opt/ontop/input/dest.portal.toml
ONTOP_CORS_ALLOWED_ORIGINS: "*"
ONTOP_DEV_MODE: "true"
volumes:
- ./vkg:/opt/ontop/input
- ./jdbc:/opt/ontop/jdbc
- ./wait-for-it:/opt/wait-for-it
entrypoint:
[
"/opt/wait-for-it/wait-for-it.sh",
"db:5432",
"--timeout=0",
"--strict",
"--",
"/opt/ontop/entrypoint.sh",
]
ports:
- "${SERVER_PORT}:8080"