Pubby – A Linked Data Frontend for SPARQL Endpoints
258
The default settings loads a Dbpedia Sparql Endpoint in http://localhost:8080/pubby. See this example
version: '3'
services:
web:
image: asanchez75/pubby:v0.3.3
restart: always
tty: true
To customize the settings, just modify your docker-compose.yml as follows
version: '3'
services:
web:
image: asanchez75/pubby:v0.3.3
ports:
- "8082:8080"
environment:
SPARQL_ENDPOINT: "http://23.87.34.34:8891/sparql"
PROJECT_HOMEPAGE_URL: "http://myproject.org/"
PROJECT_NAME: "My Project"
DEFAULT_RESOURCE: "http://myproject.org/data#student_899"
DEFAULT_NAMED_GRAPH: "http:/my_default_named_graph/"
COMMON_URI_PREFIX: "http://myproject.org/data#"
WEB_RESOURCE_PREFIX: ""
PUBBY_ROOT_URL: "http://localhost:8082/pubby/"
restart: always
tty: true
Notice that for this example, the port has been mapped from 8082 to 8080. This change of port must be considered for the variable PUBBY_ROOT_URL.
The Dockerfile is available here
https://bitbucket.org/asanchez75/docker-compose-pubby/src/v2/
Content type
Image
Digest
Size
321.9 MB
Last updated
over 4 years ago
docker pull asanchez75/pubby:v0.3.3-wikidata