-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathdocker-compose.yml
126 lines (115 loc) · 2.71 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: '3.3'
services:
lgd-db:
env_file: .env
build:
context: ./lgd-db
environment:
- POSTGRES_DB=${DB_NAME}
- POSTGRES_USER=${DB_USER}
- POSTGRES_PASSWORD=${DB_PASS}
- PGDATA=/var/lib/postgresql/data
sysctls:
- kernel.shmmax=10737418240
shm_size: 10g
volumes:
- lgd-db-vol:/var/lib/postgresql/data
ports:
- ${DB_PORT_EXPOSE}:5432
restart: always
networks:
- lgd-net
lgd-nominatim-sync:
env_file: .env
build:
context: ./lgd-nominatim-sync
depends_on:
- lgd-db
volumes:
- lgd-nominatim-sync-vol:/lgd/nominatim/src/settings
restart: on-failure
networks:
- lgd-net
lgd-osmosis-sync:
env_file: .env
build:
context: ./lgd-osmosis-sync
depends_on:
- lgd-db
volumes:
- lgd-osmosis-sync-vol:/lgd/osmosis/sync
restart: on-failure
networks:
- lgd-net
lgd-nominatim-web:
env_file: .env
build:
context: ./lgd-nominatim-web
depends_on:
- lgd-db
restart: always
ports:
- ${NOMINATIM_PORT_EXPOSE}:80
networks:
- lgd-net
lgd-ontop-web:
env_file: .env
build:
context: ./lgd-ontop-web
environment:
- ONTOP_JAVA_ARGS=-Xmx2g
- ONTOP_DB_USER=${DB_USER}
- ONTOP_DB_PASSWORD=${DB_PASS}
- ONTOP_DB_URL=jdbc:${DB_TYPE_JDBC}://${DB_HOST}:${DB_PORT}/${DB_NAME}
- ONTOP_DB_DRIVER=org.postgresql.Driver
- ONTOP_DEBUG=true
- ONTOP_DEV_MODE=true
- ONTOP_MAPPING_FILE=/opt/ontop/input/lgd.obda
- ONTOP_ONTOLOGY_FILE=/opt/ontop/input/lgd.owl
- ONTOP_XML_CATALOG_FILE=/opt/ontop/input/catalog-v001.xml
- ONTOP_PORTAL_FILE=/opt/ontop/input/lgd.portal.toml
ports:
- ${ONTOP_PORT_EXPOSE}:8080
depends_on:
- lgd-db
restart: always
networks:
- lgd-net
lgd-sparqlify-web:
env_file: .env
build:
context: ./lgd-sparqlify-web
ports:
- ${SPARQLIFY_PORT_EXPOSE}:7531
depends_on:
- lgd-db
volumes:
- lgd-sparqlify-web-vol:/lgd/sparqlify/conf
restart: always
networks:
- lgd-net
lgd-pubby-web:
image: aksw/dld-present-pubby
env_file: .env
environment:
- STORE_SPARQL_ENDPOINT_URL=${PUBBY_ENDPOINT_URL}
- STORE_MAIN_GRAPH=${PUBBY_DEFAULT_GRAPH}
- DATASET_BASE=${PUBBY_DATASET_BASE}
- WEB_BASE=${PUBBY_WEB_BASE}
- INDEX_RESOURCE=${PUBBY_INDEX_RESOURCE}
- PORT=8080
ports:
- ${PUBBY_PORT_EXPOSE}:8080
depends_on:
- lgd-sparqlify-web
# - lgd-ontop-web
restart: always
networks:
- lgd-net
volumes:
lgd-db-vol:
lgd-osmosis-sync-vol:
lgd-nominatim-sync-vol:
lgd-sparqlify-web-vol:
networks:
lgd-net: