mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 01:20:55 +00:00
feat: implement audit logs
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
# Copy to .env for local/docker compose (not committed).
|
||||
PORT=3001
|
||||
# @tria-plc/auditlog's client interceptor stamps every AuditLog row's
|
||||
# `application` from this env var directly, bypassing MezgebModule.forRoot's
|
||||
# applicationName option (package quirk). audit.controller.ts reads the same
|
||||
# var when filtering reads, so this can be anything as long as it's set.
|
||||
APPLICATION_NAME=freight-api
|
||||
# Also required for @tria-plc/auditlog: its producer (AuditClientModule)
|
||||
# reads the RMQ URL at package IMPORT time, before MezgebModule.forRoot's
|
||||
# rmqUrl option ever runs, so only an env var reaches it — an in-code
|
||||
# override is too late. Without this, audit events are silently dropped
|
||||
# (no error, nothing published). Point it at whatever broker/vhost your
|
||||
# RabbitMQ actually has a user provisioned on.
|
||||
RABBITMQ_URL=amqp://localhost:5672
|
||||
# GT06 GPS tracker TCP listener port (raw TCP, must be reachable by tracker SIMs). 0 disables.
|
||||
GT06_TCP_PORT=5023
|
||||
DB_HOST=localhost
|
||||
|
||||
Reference in New Issue
Block a user