forked from fhircat/FHIROntopOMOP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.demo.yml
59 lines (55 loc) · 1.55 KB
/
docker-compose.demo.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
50
51
52
53
54
55
56
57
58
59
version: "3.4"
services:
demo-db:
build:
context: ./demo-db
env_file: .env
environment:
- POSTGRES_DB=postgres_demo
- POSTGRES_PASSWORD=postgres_demo
ports:
- "${MAPPED_POSTGRES_PORT}:5432"
ontop:
# env_file: .env
extra_hosts:
- "host.docker.internal:host-gateway"
image: ontop/ontop:5.1.0
env_file: .env
restart: unless-stopped
environment:
ONTOP_ONTOLOGY_FILE: /opt/ontop/input/fhir.ttl
ONTOP_XML_CATALOG_FILE: /opt/ontop/input/catalog-v001.xml
ONTOP_MAPPING_FILE: /opt/ontop/input/omop.obda
# ONTOP_PROPERTIES_FILE: /opt/ontop/input/fhir.docker.properties
ONTOP_PORTAL_FILE: /opt/ontop/input/fhir.portal.toml
ONTOP_CORS_ALLOWED_ORIGINS: "*"
# ONTOP_DEV_MODE: "true"
#ONTOP_DEBUG: "true"
ONTOP_DB_URL: ${ONTOP_DB_URL}
ONTOP_DB_USER: ${ONTOP_DB_USER}
ONTOP_DB_PASSWORD: ${ONTOP_DB_PASSWORD}
ONTOP_DB_DRIVER: org.postgresql.Driver
volumes:
- ./input:/opt/ontop/input
- ./jdbc:/opt/ontop/jdbc
- ./wait-for-it:/opt/wait-for-it
# entrypoint:
# [
# "/opt/wait-for-it/wait-for-it.sh",
# "demo-db:5432",
# "--timeout=0",
# "--strict",
# "--",
# "/opt/ontop/entrypoint.sh",
# ]
ports:
- "${MAPPED_ONTOP_PORT}:8080"
pgadmin:
container_name: pgadmin4_container
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: root
ports:
- "5050:80"