feat(logging): finalize log-ingest service for dokploy-network deployment

- Update log-ingest to use internal Loki endpoint
- Add standalone docker-compose for dokploy deployment
- Update ROADMAP and LOGGING-PLAN with completed status
- Configure proper network settings for dokploy-network
This commit is contained in:
Oussama Douhou
2026-01-10 14:19:42 +01:00
parent 80e54ce578
commit f5f10ed6c4
7 changed files with 64 additions and 27 deletions

View File

@@ -1,6 +1,7 @@
import { Hono } from 'hono';
import { cors } from 'hono/cors';
import { logger } from 'hono/logger';
import { serve } from '@hono/node-server';
import { Registry, Counter, Histogram, Gauge, collectDefaultMetrics } from 'prom-client';
const app = new Hono();
@@ -193,7 +194,7 @@ app.post('/ingest/batch', async (c) => {
const port = parseInt(process.env.PORT || '3000');
console.log(`Log ingest service starting on port ${port}`);
export default {
port,
fetch: app.fetch
};
serve({
fetch: app.fetch,
port
});