Real-time log monitoring dashboard. Self-hosted alternative to Seq.
2.1K
Real-time log monitoring dashboard. A free, self-hostable alternative to Seq.
Your apps send logs via the standard Serilog.Sinks.Seq package — Flarex shows everything live in one dashboard.
docker run -d --name flarex -p 5341:5341 -p 5342:5342 maxsudmutalov/flarex:latest
Then open http://localhost:5341 (default login: admin / admin — change it in production!).
Flarex listens on two ports:
5341(UI / REST API / SignalR) and5342(log ingestion). Your apps push logs to5342; only5341needs to be reachable from the browser.
Serilog.Sinks.Seq exporter at itlinux/amd64 and linux/arm64| Tag | Description |
|---|---|
latest | Latest stable release |
1.x.x | Specific version (recommended for production) |
Architectures: linux/amd64, linux/arm64.
docker run -d \
--name flarex \
-p 5341:5341 \
-p 5342:5342 \
-v flarex-logs:/app/logs \
-e FLAREX_USER=admin \
-e FLAREX_PASSWORD=strong_password \
maxsudmutalov/flarex:latest
Open http://localhost:5341 and sign in.
services:
flarex:
image: maxsudmutalov/flarex:latest
container_name: flarex
ports:
- "5341:5341" # UI + REST API + SignalR
- "5342:5342" # Log ingestion (Serilog.Sinks.Seq)
volumes:
- flarex-logs:/app/logs
environment:
- FLAREX_USER=admin
- FLAREX_PASSWORD=strong_password
- DemoLogs__Enabled=false
restart: unless-stopped
volumes:
flarex-logs:
docker compose up -d
| Variable | Default | Description |
|---|---|---|
FLAREX_USER | admin | Login username |
FLAREX_PASSWORD | admin | Login password — change in production |
DemoLogs__Enabled | false | true / false / auto (Development env). When false, the Demo button in the UI is disabled and no synthetic logs are generated |
ASPNETCORE_URLS | http://+:5341 | Listening URL inside the container |
ASPNETCORE_ENVIRONMENT | Production | Production / Development |
Logging__RealFilePath | logs/real/app-.json | Path for ingested-app log files |
Logging__DemoFilePath | logs/demo/demo-.json | Path for demo-generator log files |
Use double underscore
__to nest config sections (ASP.NET Core convention).
5341 — UI + REST API + SignalR hub (browser-facing)5342 — Log ingestion endpoint (/api/events/raw). Strict isolation: this port serves only ingestion; the UI port refuses ingestion requests. Recommended: only expose 5342 to your internal network.You can override the defaults via configuration:
environment:
- Ports__Ui=5341
- Ports__Ingestion=5342
/app/logs — log files (real + demo) and the flarex-logs.db SQLite database. Mount a named volume or host path so data persists across container restarts.Flarex exposes a Seq-compatible HTTP ingestion endpoint, so any client that targets Seq works out of the box.
dotnet add package Serilog.Sinks.Seq
Log.Logger = new LoggerConfiguration()
.Enrich.WithProperty("Application", "MyApp")
.WriteTo.Seq(builder.Configuration["SEQ_URL"] ?? "http://localhost:5342")
.CreateLogger();
Apps push to
5342(the ingestion port). The browser-facing5341does not accept ingestion requests.
services:
flarex:
image: maxsudmutalov/flarex:latest
ports:
- "5341:5341" # UI
- "5342:5342" # Ingestion
volumes: [flarex-logs:/app/logs]
environment:
- FLAREX_USER=admin
- FLAREX_PASSWORD=strong_password
networks: [app-network]
myapp:
image: myapp:latest
environment:
- SEQ_URL=http://flarex:5342
depends_on: [flarex]
networks: [app-network]
networks:
app-network: {}
volumes:
flarex-logs:
In the Flarex UI, choose your app from the Source dropdown — logs appear instantly.
FLAREX_USER and FLAREX_PASSWORD/app/logs to a persistent volume (named volume or host path)DemoLogs__Enabled=false (default in the image)1.3.0) instead of latestFlarex uses SignalR (WebSockets) for live updates. Make sure your proxy forwards the Upgrade and Connection headers (most do this by default for /hubs/* paths).
Example nginx snippet:
location / {
proxy_pass http://flarex:5341;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
}
/app/logs)mcr.microsoft.com/dotnet/aspnet:10.0 base, multi-stage buildMIT — free for commercial and personal use.
Content type
Image
Digest
sha256:927adcf92…
Size
108.5 MB
Last updated
5 months ago
docker pull maxsudmutalov/flarex