HUB
Sign inSign up

akiel/samply.connector

By akiel

•Updated about 8 years ago

Docker Image of Samply Connector

Image
2

1.9K

akiel/samply.connector repository overview

Docker Pulls Image Layers

⁠Docker Samply.Connector

A Samply.Connector Docker image based on tomcat:8.5.32-jre8-alpine⁠. The Samply.Connector is configured alike that one from the windows installer. The Postgres database has to be supplied in another Docker container. The connection settings are given by environment variables which are documented below.

⁠Environment

  • POSTGRES_HOST - the host name of the Postgres DB
  • POSTGRES_PORT - the port of the Postgres DB, defaults to 5432
  • POSTGRES_DB - the database name, defaults to samplyconnector
  • POSTGRES_USER - the database username, defaults to samplyconnector
  • POSTGRES_PASS - the database password
  • STORE_URL - the URL of the store to connect to
  • MDR_URL - the URL of the mdr to connect to
  • CATALINA_OPTS - JVM options for Tomcat like -Xmx8g
  • ENABLE_METRICS - true to enable metrics (see below), defaults to false
  • OPERATOR_FIRST_NAME - the IT staff which runs the connector
  • OPERATOR_LAST_NAME - the IT staff which runs the connector
  • OPERATOR_EMAIL - the IT staff which runs the connector
  • OPERATOR_PHONE - the IT staff which runs the connector
  • HTTP_PROXY - the URL of the HTTP proxy to use for outgoing connections; enables proxy usage if set
  • PROXY_USER - the user of the proxy account (optional)
  • PROXY_PASS - the password of the proxy account (optional)
⁠Proxy

You can configure your proxy in ~/.docker/config.json as described here⁠.

⁠Usage

docker run -p 8080:8080 -e POSTGRES_HOST=<host> -e POSTGRES_PASS=<password> akiel/samply.connector:latest

Open the following URL in a Browser:

http://localhost:8080/gba-connector/login.xhtml

You should see the login page. The default username and password is admin and adminpass.

You can register your Connector with the Search Broker under the following address: https://search.germanbiobanknode.de/broker.

⁠Metrics

The Docker image contains an agent⁠ which exports various metrics of the JVM like memory statistics in a text format on port 9100. After enabling metrics by setting ENABLE_METRICS to true and exporting port 9100, the following command shows the metrics:

curl http://localhost:9100/metrics

The metrics should be polled by a Prometheus⁠ instance.

Tag summary
Recent tags
Content type
Image
Digest
Size
134.7 MB
Last updated
about 8 years ago
docker pull akiel/samply.connector:latest