-
Notifications
You must be signed in to change notification settings - Fork 6
/
docker-compose.dremio.yml
50 lines (48 loc) · 1.33 KB
/
docker-compose.dremio.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
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:5.0.2
env_file: .env
restart: unless-stopped
environment:
ONTOP_ONTOLOGY_FILE: /opt/ontop/input/dest-dremio.ttl
ONTOP_XML_CATALOG_FILE: /opt/ontop/input/catalog-v001.xml
ONTOP_MAPPING_FILE: /opt/ontop/input/dest-dremio.obda
ONTOP_PROPERTIES_FILE: /opt/ontop/input/dest-dremio.docker.properties
ONTOP_PORTAL_FILE: /opt/ontop/input/dest-dremio.portal.toml
ONTOP_CONSTRAINT_FILE: /opt/ontop/input/dest-dremio-keys.lst
ONTOP_CORS_ALLOWED_ORIGINS: "*"
ONTOP_DEV_MODE: "true"
volumes:
- ./dremio/vkg:/opt/ontop/input
- ./jdbc:/opt/ontop/jdbc
- ./wait-for-it:/opt/wait-for-it
entrypoint:
[
"/opt/wait-for-it/wait-for-it.sh",
"dremio:31010",
"--timeout=0",
"--strict",
"--",
"/opt/ontop/entrypoint.sh",
]
ports:
- "${SERVER_PORT}:8080"
dremio:
image: dremio/dremio-oss
ports:
- "9047:9047"
- "31010:31010"
- "45678:45678"
volumes:
- ./dremio/lake:/lake