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.
5432samplyconnectorsamplyconnector-Xmx8gtrue to enable metrics (see below), defaults to falseYou can configure your proxy in ~/.docker/config.json as described here.
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.
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.
docker pull akiel/samply.connector:latest