Configuration of GlitchTip. See https://glitchtip.com/documentation/install#configuration for more information and required settings.
Declarations
Type
open submodule of attribute set of (string or signed integer or boolean)Default
{
DEBUG = 0;
DEBUG_TOOLBAR = 0;
DATABASE_URL = lib.mkIf config.services.glitchtip.database.createLocally "postgresql://@/glitchtip";
GLITCHTIP_DOMAIN = lib.mkIf config.services.glitchtip.nginx.createLocally "https://${config.services.glitchtip.nginx.domain}";
GLITCHTIP_VERSION = config.services.glitchtip.package.version;
GRANIAN_HOST = "127.0.0.1";
GRANIAN_PORT = 8000;
GRANIAN_STATIC_PATH_MOUNT = "${config.services.glitchtip.package}/lib/glitchtip/static";
GRANIAN_WORKERS = 1;
PYTHONUNBUFFERED = 1;
REDIS_URL = lib.mkIf config.services.glitchtip.redis.createLocally "unix://${config.services.redis.servers.glitchtip.unixSocket}";
}
Example
{
DATABASE_URL = "postgres://postgres:postgres@postgres/postgres";
GLITCHTIP_DOMAIN = "https://glitchtip.example.com";
}