-
Lars Johansson authored
Add Swagger url configuration. Remove unused configuration.
Lars Johansson authoredAdd Swagger url configuration. Remove unused configuration.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
CONFIGURATION.md 2.87 KiB
Configuration
Configuration may be set using SpringBoot's configuration file (application.properties
) and environment variables.
Environment variables
Variable | Default | Description |
---|---|---|
NAMING_DATABASE_URL | jdbc:postgresql://postgres:5432/discs_names | JDBC URL for the database connection |
NAMING_DATABASE_USERNAME | discs_names | user name for the database connection |
NAMING_DATABASE_PASSWORD | discs_names | password for the database connection |
NAMING_LOGGING_LEVEL | INFO | log level for application |
NAMING_MAIL_ADMINISTRATOR | comma-separated list of administrator email addresses | |
NAMING_MAIL_NOTIFICATION | false | true/false if mail notications are to be sent |
NAMING_NOTIFY_SCHEDULE | 0 0 5 * * * | schedule for notification job, cron expression with six or seven fields to describe individual details of the schedule |
NAMING_SMTP_HOST | mail.esss.lu.se | DNS name of server that accepts connections for SMTP |
NAMING_SMTP_PORT | 587 | port to use for SMTP, 587 for SMTP Secure |
NAMING_SMTP_USERNAME | username for SMTP server | |
NAMING_SMTP_PASSWORD | password for SMTP server | |
NAMING_SWAGGER_URL | http://localhost:8080/swagger-ui.html | default url for Swagger UI |