Skip to main content

Environment Variables

PlatformWorks Hub is configured entirely via environment variables.

These must be provided when deploying the application (e.g. using Docker or on Azure App Service).


⚙️ Core Configuration

VariableDescription
HUB_ADMIN_0Login (email) of the initial platform admin
WEBSITES_PORTPort the application listens on

🗄️ Database

VariableDescription
SPRING_DATASOURCE_URLJDBC connection string
SPRING_DATASOURCE_USERNAMEDatabase username
SPRING_DATASOURCE_PASSWORDDatabase password

✉️ Mail

Used for sending notifications (e.g. approval requests, run status).

VariableDescription
SPRING_MAIL_HOSTSMTP server hostname
SPRING_MAIL_PORTSMTP server port
SPRING_MAIL_USERNAMESMTP username
SPRING_MAIL_PASSWORDSMTP password
JHIPSTER_MAIL_FROMSender email address
JHIPSTER_MAIL_BASE_URLBase URL used in email links

Additional environment variables are required for:

Refer to those sections for detailed setup instructions.