When deploying just this service, these can be set by copying the
smtp-config.example.env
to smtp-config.env
and adjusting the variables
appropriately.
- SMTP_HOST
- SMTP_PORT: Default is
587
. - SMTP_USERNAME
- SMTP_PASSWORD
- SMTP_FROM
- SMTP_TLS:
true
/false
(Sets whether StartTLS is required for connection. Default istrue
.)
- ENABLE_SWAGGER: Default is
false
. Allows all connections to Swagger and Swagger UI. - SERVER_SERVLET_CONTEXT_PATH: The path that the service listens to. If served from
example.com/api/user/
, this should be/api/user
(which is the default). - APP_NAME: Default is
PlantLogic
. - APP_URL: Will be inserted into emails.