config.toml.sample 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. [gobot]
  2. Host = "my.server.tld"
  3. ServerPort = ":3000" # default for go
  4. FrontEnd = "nginx" # leave empty if you don't have a frontend, will use ServerPort instead
  5. URLPathPrefix = "/go" # leave empty if you serve from the root URL above; no slash at end
  6. PathToStaticFiles = "~/go/src/gobot" # where the lib/ and template/ dirs are; change as needed, no slash at end
  7. # Database filename
  8. # GoBotDSN = "/path/to/docroot/database/botmover.db?cache=shared&mode=rwc" # for using a SQLite database
  9. GoBotDSN = "username:password@/database-name"
  10. PDO_Prefix = "mysql"
  11. EngineRunning = false
  12. ShowPopulation = false # sends tons of data for the population on each iteration of the GA
  13. [log]
  14. # Showing what logging options are available and the defaults for each
  15. # FileName = "log/gobot.log"
  16. # Format = "%{color}%{time:2006/01/02 15:04:05.0} %{shortfile} - %{shortfunc} ▶ %{level:.4s}%{color:reset} %{message}"
  17. # MaxSize = 500 # MBytes, integer
  18. # MaxBackups = 3 # integer
  19. # MaxAge = 28 # days, integer
  20. # Compress = true # compress rotated logs? boolean
  21. #
  22. # Severity logging: accepted values are CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG
  23. #
  24. SeverityStderr = "DEBUG"
  25. SeverityFile = "DEBUG"
  26. SeveritySyslog = "CRITICAL"
  27. [opensim]
  28. # get a map tile; if you get 'mixed content' errors, you can use nginx to act as a HTTPS proxy
  29. # see https://starflowerbracken.wordpress.com/2020/05/03/configuring-secure-https-ports-with-tls-ssl-on-opensim/ for some hints
  30. MapURL = "http://opensim.server.tld:8002/map-1-gridx-gridy-objects.jpg"
  31. LSLSignaturePIN = "0000" # this will have to be the same as in your scripts