
How to use this image
$ docker run -v /tmp:/tmp -p 3000:3000 -e HOST=0.0.0.0 -e API=http://fda-gateway-service:9095
Customization
Change the default behavior by setting the following environment variables to different values:
-
API
, default: http://gateway-service:9095The Gateway Service endpoint.
-
BROKER_USERNAME
, default: fdaThe Broker Service username of a user that has
administrator
tags associated to the account. -
BROKER_PASSWORD
, default: fdaThe Broker Service password of a user that has
administrator
tags associated to the account. -
SANDBOX
, default: falseWhen set to
1
, the interface displays a warning not to include production data. -
KEY
, optional.The private key of an SSL/TLS certificate to be used by the webserver. The key needs to be a single-line string and can be easily prepared by the command line:
$ sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g' /path/to/privkey.pem
-
CERT
, optional.The SSL/TLS certificate to be used by the webserver. The certificate needs to be a single-line string and can be easily prepared by the command line:
$ sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g' /path/to/cert.pem
Graphical Endpoints
-
FAIR Portal:
Middleware Endpoints
-
HTTP API: