-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
metrics endpoints and indexer update
- Loading branch information
1 parent
213f17d
commit 9638c06
Showing
58 changed files
with
1,148 additions
and
556 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "node", | ||
"request": "launch", | ||
"name": "Start Databus With AUTH0", | ||
"program": "${workspaceFolder}/server/www", | ||
"cwd": "${workspaceFolder}/server", | ||
"env": { | ||
"DATABUS_RESOURCE_BASE_URL": "http://localhost:3000", | ||
"DATABUS_NAME": "Local Databus", | ||
"DATABUS_ABSTRACT": "Go ham", | ||
"DATABUS_ORG_ICON": "https://www.dbpedia.org/wp-content/uploads/2020/09/dbpedia-org-logo.png", | ||
"DATABUS_BANNER_COLOR": "\\#5b798d", | ||
"DATABUS_DATABASE_URL": "http://localhost:3002", | ||
"DATABUS_OIDC_ISSUER_BASE_URL": "https://kilt.eu.auth0.com", | ||
"DATABUS_OIDC_CLIENT_ID": "e9eOLS9IkGvuyBl7cBorWUQTNgbqejhc", | ||
"DATABUS_OIDC_SECRET": "0RVo9jMnbhPnkR6Ttz0aXQRTcRuSz5DpqyUEjbbcbgRuGA4rbwCjnHM2cOlTrv9q", | ||
"LOOKUP_BASE_URL": "http://localhost:3004", | ||
"MAX_WORKERS": "1", | ||
"METRICS_PORT": "3001" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
global: | ||
scrape_interval: 15s | ||
|
||
scrape_configs: | ||
- job_name: 'databus-server' | ||
static_configs: | ||
- targets: ['host.docker.internal:3001'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
version: "3.8" # Updated version for Swarm compatibility | ||
services: | ||
${CLIENT_ID}_databus: | ||
image: "docker.io/dbpedia/databus" | ||
ports: | ||
- ${CLIENT_ID}_3000:3000 # HTTP: Databus web UI | ||
environment: | ||
DATABUS_RESOURCE_BASE_URL: ${DATABUS_RESOURCE_BASE_URL} | ||
DATABUS_DATABASE_URL: "http://${CLIENT_ID}_gstore:8080" | ||
DATABUS_OIDC_ISSUER_BASE_URL: ${DATABUS_OIDC_ISSUER_BASE_URL} | ||
DATABUS_NAME: ${DATABUS_NAME} | ||
DATABUS_ORG_ICON: ${DATABUS_ORG_ICON} | ||
DATABUS_BANNER_COLOR: ${DATABUS_BANNER_COLOR} | ||
DATABUS_OIDC_CLIENT_ID: ${DATABUS_OIDC_CLIENT_ID} | ||
DATABUS_OIDC_SECRET: ${DATABUS_OIDC_SECRET} | ||
DATABUS_PRIVATE_MODE: ${DATABUS_PRIVATE_MODE} | ||
DATABUS_PROXY_SERVER_ENABLE: ${DATABUS_PROXY_SERVER_ENABLE} | ||
DATABUS_PROXY_SERVER_USE_ACME: ${DATABUS_PROXY_SERVER_USE_ACME} | ||
DATABUS_PROXY_SERVER_OWN_CERT: ${DATABUS_PROXY_SERVER_OWN_CERT} | ||
DATABUS_PROXY_SERVER_OWN_CERT_KEY: ${DATABUS_PROXY_SERVER_OWN_CERT_KEY} | ||
DATABUS_PROXY_SERVER_HOSTNAME: ${DATABUS_PROXY_SERVER_HOSTNAME} | ||
volumes: | ||
- ./data/${CLIENT_ID}/dav/:/databus/server/dav/ | ||
- ./data/${CLIENT_ID}/sqlite/:/databus/server/sqlite | ||
- ./data/${CLIENT_ID}/keypair/:/databus/server/keypair | ||
- ./data/${CLIENT_ID}/tls/:/tls:ro | ||
- ./data/${CLIENT_ID}/tls/caddy:/root/.local/share/caddy/ | ||
|
||
${CLIENT_ID}_gstore: | ||
image: "docker.io/dbpedia/gstore" | ||
environment: | ||
STORAGE_USER: ${VIRTUOSO_USER} | ||
STORAGE_PASS: ${VIRTUOSO_PASSWORD} | ||
STORAGE_SPARQL_ENDPOINT_URI: http://${CLIENT_ID}_virtuoso:8890/sparql | ||
ports: | ||
- "127.0.0.1:${CLIENT_ID}_3002:8080" | ||
volumes: | ||
- ./data/${CLIENT_ID}/gstore/repo:/gstore/git | ||
- ./data/${CLIENT_ID}/gstore/logs:/gstore/logs | ||
|
||
${CLIENT_ID}_virtuoso: | ||
image: "docker.io/openlink/virtuoso-opensource-7" | ||
environment: | ||
DBA_PASSWORD: ${VIRTUOSO_PASSWORD} | ||
SPARQL_UPDATE: "true" | ||
DEFAULT_GRAPH: ${DATABUS_RESOURCE_BASE_URL} | ||
ports: | ||
- "127.0.0.1:${CLIENT_ID}_3003:8890" | ||
volumes: | ||
- ./data/${CLIENT_ID}/virtuoso:/database | ||
entrypoint: /bin/bash -c " | ||
echo 'grant SPARQL_LOAD_SERVICE_DATA to \"SPARQL\";' > /opt/virtuoso-opensource/initdb.d/ini.sql && | ||
echo 'grant SPARQL_SPONGE to \"SPARQL\";' >> /opt/virtuoso-opensource/initdb.d/ini.sql && | ||
echo 'grant SPARQL_SELECT_FED to \"SPARQL\";' > /opt/virtuoso-opensource/initdb.d/ini.sql && | ||
/virtuoso-entrypoint.sh | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.