Sign inSign up

semmtech/linked-data-viewer

By semmtech

Updated 4 months ago

Configurable Linked Data Viewer.

Image
0

1.9K

semmtech/linked-data-viewer repository overview

Linked Data Viewer

Usage

Run the following command to start the app:

docker run -p 8082:8082 semmtech/linked-data-viewer:latest

Note: To configure the application, add the volumes described below.

Configuration

Configure the application by mounting the appropriate volumes

ConfigurationMount path
Server config*/usr/src/app/server/dist/config.json
Client config*/usr/src/app/client/dist/html/config.json
Queries*/usr/src/app/client/dist/html/queries
Application logo/usr/src/app/client/dist/html/static/images/laces_logo.svg
Favicon/usr/src/app/client/dist/html/static/favicon.png

For example to add all the required configuration:

docker run -p 8082:8082 /
-v "path-to-server-config/config.json:/usr/src/app/server/dist/config.json" /
-v "queries-path/queries:/usr/src/app/client/dist/html/queries" /
-v "path-to-client-config/config.json:/usr/src/app/client/dist/html/config.json" /
semmtech/linked-data-viewer:latest

Server configuration

The config file should have the following format:

{
    "users": [
        {
            "id": "",
            "email": "",
            "password": ""
        }
    ],
    "cookies": {
        "secret": "",
        "maxAgeDays": 14,
        "secure": false,
        "sameSite": "lax"
    },
    "dataServiceOptions": {
        "mode": "post",
        "auth": "basic",
        "username": "",
        "password": ""
    }
}

Tag summary

Content type

Image

Digest

sha256:2667ada11

Size

408.3 MB

Last updated

4 months ago

docker pull semmtech/linked-data-viewer