GeminiHello-Prod.conf 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # -----------------------------------------------------------------------
  2. # GEMINIHELLO configuration file
  3. #
  4. # PRODUCTION ENVIRONMENT
  5. #
  6. # The configuration attributes specified in this file should be common
  7. # across all Production deployments of the application.
  8. # -----------------------------------------------------------------------
  9. # Extend the baseline configuration.
  10. Extends = GeminiHello-Base.conf
  11. # TODO: Edit these settings according to the particulars of the
  12. # Production environment.
  13. DeploymentDescription = Production/${Servlet.MachineName}
  14. # Database connectivity for Production.
  15. db.ConnectString = localhost:3306/gemini?jdbcCompliantTruncation=false&cachePrepStmts=true&prepStmtC
  16. db.LoginName = hello
  17. db.LoginPass = hello
  18. # Mail server definition for the production environment. TODO: Most
  19. # likely you shouldn't be using the TechEmpower mail server in
  20. # Production, so change this.
  21. MailServerCount = 1
  22. MailServer1.ServerAddress = mail.techempower.com
  23. MailServer1.SmtpPort = 25
  24. MailServer1.PopPort = 110
  25. MailServer1.Username = mhixson
  26. MailServer1.Password = password
  27. MailServer1.ServerRole = Outbound
  28. # In production, we'll want to have the email exception handler enabled.
  29. EmailExceptionHandler.Enabled = true
  30. # In production, refer to all the static assets via URLs with version strings to
  31. # allow us to perform aggressive caching.
  32. HTMLDirectory = /static/${StaticsVersion}/html/
  33. ImageDirectory = /static/${StaticsVersion}/images/
  34. CSSDirectory = /static/${StaticsVersion}/css/
  35. JavaScriptDirectory = /static/${StaticsVersion}/js/