backend redesign

This commit is contained in:
2026-03-11 18:47:11 -04:00
parent 8ff277c8c6
commit e99ef5d2dd
210 changed files with 12147 additions and 155 deletions

30
ingestor/Dockerfile Normal file
View File

@@ -0,0 +1,30 @@
FROM node:20-alpine
# Install protobuf compiler
RUN apk add --no-cache protobuf protobuf-dev build-base python3
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY src ./src/
COPY protobuf ./protobuf/
# Compile protobufs (if using proto:compile script)
# RUN npm run proto:compile
# Create config directory
RUN mkdir -p /config
# Set environment variables
ENV CONFIG_PATH=/config/config.yaml
ENV SECRETS_PATH=/config/secrets.yaml
ENV NODE_ENV=production
# Run the ingestor
CMD ["node", "src/index.js"]