Public Repository

Last pushed: 2 months ago
Short Description
This is an image of the MIP portal backend.
Full Description

hbpmip/portal-backend

Docker image for the MIP portal backend.

To use this image, you need a running instance of PostgreSQL and to configure the software using the following environment variables.

DATABASES

  • PORTAL_DB_URL: JDBC URL to connect to the portal database, default value is "jdbc:postgresql://172.22.0.1:5432/portal".
  • PORTAL_DB_SCHEMA: Database schema, default value is "public".
  • PORTAL_DB_USER: User to use when connecting to the portal database, default value is "postgres".
  • PORTAL_DB_PASSWORD: Password to use when connecting to the portal database.

  • META_DB_URL: JDBC URL to connect to the metadata database, default value is "jdbc:postgresql://172.22.0.1:5432/meta".

  • META_DB_SCHEMA: Database schema, default value is "public".
  • META_DB_USER: User to use when connecting to the metadata database.
  • META_DB_PASSWORD: Password to use when connecting to the metadata database.

  • FEATURES_DB_URL: JDBC URL to connect to the science database, default value is "jdbc:postgresql://172.22.0.1:5433/features".

  • FEATURES_DB_SCHEMA: Database schema, default value is "public".
  • FEATURES_DB_USER: User to use when connecting to the science database, default value is "postgres".
  • FEATURES_DB_PASSWORD: Password to use when connecting to the science database.
  • FEATURES_DB_MAIN_TABLE: Table that contains the scientific data to use, default value is "features".

OAUTH2 LOGIN

WEB FRONTEND

LOGGING

  • LOGGING_LEVEL_WEB: log level for the web layer of the application. Default to "WARN".
  • LOGGING_LEVEL_HIBERNATE: log level for the Hibernate layer of the application. Default to "WARN".

ENDPOINTS

  • WOKEN_URL: URL to woken machine learning server, default value is "http://172.22.0.1:8087".
  • WOKEN_HOST: default value is "woken".
  • WOKEN_AKKA_PORT default value is "8088".
  • WOKEN_AKKA_PATH default value is "/user/entrypoint".

  • EXAREME_URL: URL to Exareme server, default value is "http://hbps2.chuv.ch:9090".

EMBEDDED SERVER CONFIGURATION

  • CONTEXT_PATH: context path appended to all services running in this container. Default to "/services".
  • SESSION_TIMEOUT: Timeout in milliseconds for session expiration. Default to 2592000.
Docker Pull Command
Owner
hbpmip

Comments (0)