Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PORT=8087

LOKI_HOSTNAME="http://loki"
LOKI_PORT=3100
LOG_TIME_RANGE=1h

# Healthcheck Parameters
HC_INTERVAL=40s
Expand Down
22 changes: 22 additions & 0 deletions monitoring/log-analyzer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM node:18-alpine

# Set working directory
WORKDIR /app

# Copy package files
COPY package*.json ./

# Install dependencies
RUN npm ci --only=production

# Copy source code
COPY . .

# Build the application
RUN npm run build

# Set environment variables
ENV NODE_ENV=production

# Default command
CMD ["node", "dist/index.js"]
Loading
Loading