forked from blake-regalia/usgs-ld
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
49 lines (44 loc) · 1.07 KB
/
docker-compose.yaml
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'
services:
postgis:
image: kartoza/postgis:10.0-2.4
triplifier:
image: bregalia/usgs-triplifier
environment:
- PGUSER=docker
- PGPASSWORD=docker
- PGHOST=postgis
- PGPORT=5432
- PGDATABASE=gis
- "USGS_DATA_HOST=${USGS_DATA_HOST}"
volumes:
- ./data:/src/app/data
command: all
depends_on: [postgis]
triplestore:
image: bregalia/marmotta
ports:
- "25432:5432"
- "8080:8080"
importer:
image: bregalia/kiwi-bulk-loader
environment:
- "DATABASE_URI=postgres://script:pass@triplestore:5432/kiwi"
- "TRIPLES_BATCH=${TRIPLES_BATCH}"
volumes:
- ./data:/src/app/data
command: all
depends_on: [triplestore]
frontend:
image: bregalia/gnis-ld.org
ports:
- "3001:80"
environment:
- PGUSER=script
- PGPASSWORD=pass
- PGHOST=triplestore
- PGPORT=5432
- PGDATABASE=kiwi
- "USGS_DATA_HOST=${USGS_DATA_HOST}"
- "USGS_ENDPOINT_URL=http://triplestore:8080/marmotta/sparql/select"
depends_on: [triplestore]