Configuration

Overview of configuration options

LinkedDataHub is configured using environment variables in the docker-compose.yml file (environment-specific configuration should go into docker-compose.override.yml instead).

Below you'll find a list of environment variables grouped by service (they are defined in the environment section).

linkeddatahub

WebID signup

ENABLE_WEBID_SIGNUP
false to disable (enabled by default)
Currently this will only hide the signup button in the UI, without disabling the endpoint

Social login

GOOGLE_CLIENT_ID
OAuth client ID
Login with Google authentication is enabled when this value is provided
GOOGLE_CLIENT_SECRET
OAuth client secret

Email server

MAIL_SMTP_HOST
Hostname of the email server
MAIL_SMTP_PORT
Port number of the email server
MAIL_USER
Username
MAIL_PASSWORD
Password (if required)

Linked Data

ENABLE_LINKED_DATA_PROXY
false to disable the Linked Data proxy (enabled by default)

nginx

SERVER_CERT_FILE
Location of the server's SSL certificate. By default /etc/nginx/ssl/server.crt.
SERVER_KEY_FILE
Location of the server's SSL certificate's key. By default /etc/nginx/ssl/server.key.
SSL_VERIFY_CLIENT
off to disable TLS client certificate authentication on the $HTTPS_PORT port, which also disables LinkedDataHub's WebID-TLS authentication method.
This option can be used to avoid the certificate prompt in the browser in end-user facing applications. The client certificate authentication is still available on port 5443.
optional_no_ca to enable it.