Run the job tracker as its own container at /jobs/
The tracker (applications, leads, email pipeline, capture userscript) now lives in the adamf/job-tracker repo and runs here from its published image. - docker-compose.yml: a `jobs` service with an explicit environment list (its own database role; none of the site's other secrets), ./jobs-data mounted at /data, and nginx waiting for it. The dev override seeds it. - nginx: /jobs/ proxied to it with the prefix kept, and 301s from /cv/jobs, /cv/leads and the old userscript URL. - env_registry.json and .env.example: the email and job-lead variables now belong to the jobs service; CLAUDE_* to python and jobs; new POSTGRES_JOBS_* and JOBS_IMAGE_TAG. The compose environment test now checks the jobs service's list as well as python's. - backend: no longer starts the email and job-lead schedulers or serves the capture and email routes, since the tracker reads the same settings and would otherwise process everything twice. The old job code stays until the tracker has run for a while. - vue: the CV page's Jobs button goes to /jobs/; the old routes are gone. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
+2
-12
@@ -105,18 +105,8 @@ const router = createRouter({
|
||||
name: "cv",
|
||||
component: () => import("@/views/CV/CV.vue"),
|
||||
},
|
||||
{
|
||||
path: "jobs",
|
||||
name: "job-applications",
|
||||
component: () => import("@/views/CV/JobApplications.vue"),
|
||||
meta: { requiresAdmin: true },
|
||||
},
|
||||
{
|
||||
path: "leads",
|
||||
name: "job-leads",
|
||||
component: () => import("@/views/CV/JobLeads.vue"),
|
||||
meta: { requiresAdmin: true },
|
||||
},
|
||||
// /cv/jobs and /cv/leads moved to the job tracker app at
|
||||
// /jobs/; nginx redirects the old paths.
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user