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
| Variable | Description |
|---|---|
HUB_ADMIN_0 | Login (email) of the initial platform admin |
WEBSITES_PORT | Port the application listens on |
🗄️ Database
| Variable | Description |
|---|---|
SPRING_DATASOURCE_URL | JDBC connection string |
SPRING_DATASOURCE_USERNAME | Database username |
SPRING_DATASOURCE_PASSWORD | Database password |
✉️ Mail
Used for sending notifications (e.g. approval requests, run status).
| Variable | Description |
|---|---|
SPRING_MAIL_HOST | SMTP server hostname |
SPRING_MAIL_PORT | SMTP server port |
SPRING_MAIL_USERNAME | SMTP username |
SPRING_MAIL_PASSWORD | SMTP password |
JHIPSTER_MAIL_FROM | Sender email address |
JHIPSTER_MAIL_BASE_URL | Base URL used in email links |
🔗 Related Configuration
Additional environment variables are required for:
- 🔐 Authentication
- ⚙️ Providers
Refer to those sections for detailed setup instructions.