Deploy Dossier

Self-hosted job search with tailored resumes, cover letters, and tracking.

Deploy Dossier

Just deployed

/var/lib/postgresql/data

Deploy and Host Dossier on Railway

Dossier is an open-source, self-hosted job search app. It keeps one career profile, reads each job posting, drafts a tailored resume and cover letter from facts you actually have, and tracks every application from draft to offer. Sign in with one password, and keep your data in your own PostgreSQL database. Licensed AGPL-3.0.

About Hosting Dossier

Hosting Dossier on Railway takes two services: the official Dossier image and a Railway-managed PostgreSQL database. One volume at /data keeps nightly JSON backups and export files across redeploys. On every boot the app applies its Prisma migrations, seeds the built-in resume themes, and serves the web UI on port 3000; health is reported at /api/health only when the database answers. Dossier expects an argon2id password hash, which Railway cannot compute, so the template's start command hashes the plain password you set in the service variables before the app starts. AI, job sources, Gmail, and Calendar are configured in the app after first sign-in.

Common Use Cases

  • Write a tailored resume and cover letter for every job, using only facts from your profile.
  • Track applications on a board, with a funnel dashboard and interview calendar.
  • Keep a job search private: your profile, documents, and application history stay on your own server.
  • Bring your own AI provider, from a hosted OpenAI-compatible API to a self-hosted Ollama or LM Studio endpoint.
  • Let Claude search jobs, score postings, and save drafts through the built-in MCP connector.
  • Let the optional job agent run saved searches daily and queue the best-scoring postings for review.

Dependencies for Dossier Hosting

  • Official Docker image ghcr.io/aientech/dossier:v1.15.2 (multi-arch; about 460 MB to download, about 1.25 GB on disk).
  • Railway-managed PostgreSQL. Dossier uses it for the profile, applications, documents, and settings.
  • One persistent volume attached at /data for nightly backups and export files.
  • Optional: an AI provider API key or a reachable Ollama/LM Studio endpoint, a JSearch or Adzuna key, and a Google OAuth client for Gmail and Calendar.

Implementation Details

The app service runs the official image unmodified. A one-line Railway start command turns the plain DOSSIER_ADMIN_PASSWORD variable into the argon2id hash Dossier requires, removes the plaintext from the process environment, and then runs the image's normal start.sh (migrations, seed, server).

PathPurpose
/ (port 3000)Web UI and API
/api/healthRailway health check; 200 only when PostgreSQL answers
/dataVolume for nightly backups and export files
/data/backupsJSON backups, 14 days kept by default

The first boot applies migrations and seeds the built-in themes, so allow the full 300-second health-check window. After that, open the public domain, sign in with the password you set, and follow the in-app setup guide. Plan for at least 768 MB of memory; PDF printing starts headless Chromium, which peaks around 520 MB.

Dossier is a single-user, single-instance app: the nightly backups, AI job queue, and PDF browser live in the app process. Keep exactly one replica. To upgrade later, change the image tag in the template composer to a newer release and redeploy; migrations run automatically.

Comparison with Alternatives

✅ = built in or available without extra work, ❌ = not available or requires workarounds.

CapabilityDossier (this template)Hosted job-search SaaSManual tracker
Self-hosted; data stays in your own database✅❌✅
Source available (AGPL-3.0)✅❌❌
Tailored resume and cover letter per posting✅✅❌
Never invents experience; shows gaps instead✅Varies✅ (by hand)
Choose your own AI provider, including local✅❌❌
Job search across several portals✅✅❌
Application board, funnel, and interview calendar✅✅❌
Gmail and Google Calendar integration✅✅❌
MCP connector for Claude✅❌❌
Recurring subscription❌ (infrastructure only)✅❌

Sources: the Dossier repository and its wiki. Hosted SaaS and manual trackers vary by product; the columns compare the categories, not a specific vendor.

Security Considerations

  • Sign-in is one password, stored by Dossier only as an argon2id hash. The template keeps the plaintext in DOSSIER_ADMIN_PASSWORD so it can hash it at boot, then unsets it before starting the app. Anyone who can read the project's variables can read that password, so treat Railway project access as access to Dossier itself.
  • DOSSIER_SECRET signs sessions and encrypts API keys saved in the app. It must be at least 32 random characters and must never change after first boot; changing it signs you out and invalidates saved keys.
  • Backups in /data are JSON exports and never contain saved API keys in plain text. They do contain your profile and applications, so protect the volume and any copy you download.
  • The app is designed for one user behind one password and one public HTTPS domain. Railway terminates TLS; keep the PostgreSQL service on the private network.
  • AI providers and job sources receive the data needed for their calls: posting text, profile facts used in a draft, and search queries. Choose a provider that matches your privacy needs; a local Ollama or LM Studio endpoint keeps that traffic inside infrastructure you control.
  • The Google OAuth client secret is stored encrypted in PostgreSQL. Set DOSSIER_PUBLIC_URL to the public HTTPS address so the /api/google/callback redirect matches the client configuration.
  • The volume is mounted as root by Railway, so the container runs as root (RAILWAY_RUN_UID=0) to let the app write backups to /data. The container filesystem is ephemeral; /data is the only persistent path.
  • Keep one replica: the backup scheduler, job agent, and PDF renderer assume a single instance.
  • Dossier is AGPL-3.0-only. Running the unmodified official image over the network is permitted; if you modify and host it, you must offer the modified source to its users.

Why Deploy Dossier on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Dossier on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Two services, one volume, and one password put a private job-search workspace online with managed PostgreSQL, automatic HTTPS, and backups that survive redeploys.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
117
View Template
Weaviate
Vector database with hybrid search and an API key-protected API

GitHub Locker
1
View Template
Möbius Personal AI OS
Self-hosted AI agent that builds and runs apps for you, with memory.

Tracklayer
1