/user-service

🌱 Spring Boot user auth backend using Spring Security, MongoDB, and JWT

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Build Status Codacy Badge Issues License Docker Pulls Demo

🌱 PlantLogic | User Service

Docker Environment Variables

Email

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 is true.)

App Configuration

  • 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.