This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
73 lines (67 loc) · 2.08 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
version: "3.5"
services:
data-provider:
image: ghcr.io/informatievlaanderen/ldi-orchestrator:latest
container_name: demonstrator-data-provider
ports:
- 8082:8082
volumes:
- ./docker-compose/data-provider.config.yml:/ldio/application.yml:ro
- ./docker-compose/rml:/ldio/rml:ro
- ./docker-compose/sparql:/ldio/sparql:ro
- ./docker-compose/jsonld:/ldio/jsonld:ro
depends_on:
rdf4j-server:
condition: service_healthy
demonstrator:
condition: service_started
networks:
- demonstrator-network
demonstrator:
container_name: demonstrator
image: ghcr.io/informatievlaanderen/vsds-demonstrator:latest
env_file: ./docker-compose/demonstrator.env
ports:
- 8084:8080
depends_on:
postgresql:
condition: service_healthy
rdf4j-server:
condition: service_healthy
networks:
- demonstrator-network
rdf4j-server:
image: eclipse/rdf4j-workbench:latest
container_name: demonstrator-rdf4j-server
environment:
- "JAVA_OPTS=-Xms1g -Xmx4g"
ports:
- 8080:8080
restart: on-failure
healthcheck:
test: "curl --fail http://localhost:8080/rdf4j-workbench/repositories/NONE/repositories || exit 1"
networks:
- demonstrator-network
postgresql:
image: kartoza/postgis
container_name: demonstrator-postgresql
environment:
# If you need to create multiple database you can add coma separated databases eg gis,data
- POSTGRES_DB=test
- POSTGRES_USER=postgres
- POSTGRES_PASS=test
- ALLOW_IP_RANGE=0.0.0.0/0
# Add extensions you need to be enabled by default in the DB. Default are the five specified below
- POSTGRES_MULTIPLE_EXTENSIONS=postgis,hstore,postgis_topology,postgis_raster,pgrouting
- RUN_AS_ROOT=true
ports:
- "25432:5432"
restart: on-failure
healthcheck:
test: "PGPASSWORD=test pg_isready -h 127.0.0.1 -U postgres -d test"
networks:
- demonstrator-network
networks:
demonstrator-network:
driver: bridge
name: demonstrator-network