-
Notifications
You must be signed in to change notification settings - Fork 32
/
env.dist
88 lines (65 loc) · 2.91 KB
/
env.dist
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
# Service ports
DB_PORT_EXPOSE=8011
NOMINATIM_PORT_EXPOSE=8012
SPARQLIFY_PORT_EXPOSE=8013
ONTOP_PORT_EXPOSE=8014
PUBBY_PORT_EXPOSE=8021
# Database config
POSTGRES_VERSION=9.5
POSTGIS_VERSION=2.2
# The project name must match that provided to docker-compose
# By default docker-compose uses the name of the parent directory
# but it can be overridden with the -p option
PROJECT_NAME=linkedgeodata
DB_HOST="${PROJECT_NAME}_lgd-db_1"
DB_PORT=5432
DB_USER=lgd
DB_PASS=lgdpwd
DB_NAME=lgd
DB_TYPE_JDBC=postgresql
DB_TYPE_PDO=pgsql
# Connection URLs derived from the individual components
# JDBC and PDO are database abstraction layers for java and php, respectively
DB_URL_JDBC="${DB_TYPE_JDBC}://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}"
# DB_URL_PDO="${DB_TYPE_PDO}://${DB_USER}:${DB_PASS}@${DB_HOST}:${DB_PORT}/${DB_NAME}"
DB_DSN_PDO="${DB_TYPE_PDO}:host=${DB_HOST};port=${DB_PORT};dbname=${DB_NAME};user=${DB_USER};password=${DB_PASS}"
DB_SHARED_BUFFERS=2GB
DB_EFFECTIVE_CACHE_SIZE=2GB
DB_WORK_MEM=256MB
DB_MAINTENANCE_WORK_MEM=256MB
# OSM data config
#Geofabrik does not maintain updates indefinitely, so using deprecated data will break the sync
#OSM_DATA_BASE_URL=http://downloads.linkedgeodata.org/debugging/monaco-170618.osm.pbf
OSM_DATA_BASE_URL=http://download.geofabrik.de/europe/monaco-latest.osm.pbf
OSM_DATA_SYNC_URL=http://download.geofabrik.de/europe/monaco-updates/
# Crunch interval is the interval for which to merge individual updates into a single larger update
OSM_DATA_SYNC_CRUNCH_INTERVAL=86400
# If there are no options for Sparqlify, LEAVE the value BLANK:
# OK: SPARQLIFY_OPTS=
# BAD (will cause an error about resource "" not found): SPARQLIFY_OPTS=""
SPARQLIFY_OPTS=
#SPARQLIFY_OPTS=-t 180 -n 50000
# These constants should not be needed as they can be obtained automatically by analysing the osm data base url
#OSM_DATA_SYNC_RECHECK_INTERVAL=900
#OSM_DATA_SYNC_UPDATE_INTERVAL=3600
## Nominatim Options
# The website base URL must be set appropriately in order for the Nominatim Web app
# component that runs in the browser to locate its javascript and CSS resources
NOMINATIM_WEBSITE_URL="http://localhost:8012/"
##
# Pubby Linked Data Interface Options
#
# PUBBY_WEB_BASE: The public URLs prefix under which Linked Data is accessed
# PUBBY_ENDPOINT_URL: The SPARQL endpoint from which to retrieve the data; with defaults:
# - sparqlify: http://lgd-sparqlify-web:7531/sparql
# - ontop: http://lgd-ontop-web:8080/sparql
# - public lgd sparql endpoint: http://linkedgeodata.org/sparql
# PUBBY_INDEX_RESOURCE: The default resource which to show under the pubby's servlet root
##
PUBBY_PROJECT_NAME="LGD docker"
#PUBBY_ENDPOINT_URL=http://linkedgeodata.org/sparql
PUBBY_ENDPOINT_URL=http://lgd-sparqlify-web:7531/sparql
PUBBY_DEFAULT_GRAPH=http://linkedgeodata.org
PUBBY_WEB_BASE=http://localhost:8021/
PUBBY_DATASET_BASE=http://linkedgeodata.org/
PUBBY_INDEX_RESOURCE=http://linkedgeodata.org/triplify/node29857233