MyNixOS website logo
option

services.traccar.environment

Extra environment variables to pass to Traccar. Secrets should be passed using the services.traccar.environmentFile option instead.

See the documentation for more information.

Declarations
Type
attribute set of string
Default
{ }
Example
{
  CONFIG_USE_ENVIRONMENT_VARIABLES = "true";
  DATABASE_URL = "jdbc:postgresql://localhost/traccar?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/run/postgresql/.s.PGSQL.5432";
}