Add jobs service with script execution, configuration support, and control interface.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
OverlordandClaude Bot committed 2026-10-13 15:04:21 +02:00
1 parent 1f6d41ab06
commit 0ad5b5f44f
27 files changed
+1108 -45

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
# Build context is the repository root.
FROM node:24-alpine AS build
WORKDIR /src
COPY . .
RUN corepack pnpm install --frozen-lockfile \
&& corepack pnpm --filter @homepage/jobs-service build
FROM node:24-alpine
# Tools job scripts can rely on.
RUN apk add --no-cache bash coreutils curl git jq \
&& printf '#!/bin/sh\nexec node /app/jobctl.js "$@"\n' > /usr/local/bin/jobctl \
&& chmod 0755 /usr/local/bin/jobctl
COPY --from=build /src/apps/jobs/dist/ /app/
# Compose runs the service as the owner of the content directory instead.
USER 10003:10003
CMD ["node", "/app/main.js"]