C2(jobsync): impl — fix entrypoint cd /app for nix container

The nix container has no /app directory — the app lives at
/nix/store/<hash>/app/ and the container's WorkingDir is set
to that path. Remove the cd /app that caused @prisma/engines
to not be found.

Also add jobsync to service-versions.yaml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-07 21:49:01 -08:00
commit f29ddc16f9
2 changed files with 9 additions and 1 deletions

View file

@ -1,7 +1,8 @@
#!/bin/sh
set -e
cd /app
# WorkingDir is set by the container config to the nix store app path.
# No cd needed — entrypoint inherits the working directory.
# Run database migrations before starting the server
node node_modules/prisma/build/index.js migrate deploy --schema=prisma/schema.prisma

View file

@ -155,6 +155,13 @@ services:
current-version: "2026.2.0"
upstream-source: https://github.com/goauthentik/authentik/releases
- name: jobsync
type: argocd
last-reviewed: "2026-03-07"
current-version: "1.1.4"
upstream-source: https://github.com/Gsync/jobsync/releases
notes: Job application tracker on ringtail; nix-built container
- name: ollama
type: argocd
last-reviewed: "2026-03-02"