Skip to content
Snippets Groups Projects
Select Git revision
  • 2e3092938f5c68122d2f81b32325be6d7adc4b57
  • master default protected
  • dev
  • gh-pages
4 results

fda-ui.md

Blame
  • 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:9095

      The Gateway Service endpoint.

    • BROKER_USERNAME, default: fda

      The Broker Service username of a user that has administrator tags associated to the account.

    • BROKER_PASSWORD, default: fda

      The Broker Service password of a user that has administrator tags associated to the account.

    • SANDBOX, default: false

      When 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

    Middleware Endpoints