---
title: "Deploy Dossier"
description: "Self-hosted job search tracker with AI-tailored resumes and cover letters"
category: "AI/ML"
url: https://railway.com/deploy/dossier-2
---

# Deploy Dossier

Self-hosted job search tracker with AI-tailored resumes and cover letters

**[Deploy Dossier on Railway](https://railway.com/template/dossier-2)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/dossier-2/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:18

### Dossier https://cdn.jsdelivr.net/gh/AienTech/dossier@v1.15.1/src/app/apple-icon.png

- **Source:** https://github.com/aalfath/dossier-railway-template
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Dossier on Railway

Dossier is an open-source, self-hosted job search workspace. You keep one profile and base resume, track applications on a board, and let an AI provider you choose tailor a resume and cover letter to each posting. It prints PDFs, can search job boards, and keeps everything in your own database.

## About Hosting Dossier

Dossier is a Next.js server that keeps its data in PostgreSQL and prints PDFs with a bundled headless Chromium. This template deploys the official Dossier v1.15.1 image, pinned by digest, and Railway's PostgreSQL 18, each on its own volume. On every start the app waits for Postgres, applies the database migrations and loads the built-in themes, then serves on a public HTTPS domain with a `/api/health` check. Dossier has a single user and signs in with a password only: the template generates it and hashes it at boot. Bring an API key for OpenAI, Anthropic or Mistral, or any OpenAI-compatible endpoint, to use the AI features.

## Common Use Cases

* Tailor a resume and cover letter to each job posting with your own AI provider and key
* Track applications, interviews and offers on one board, with nightly backups
* Keep a private, self-hosted record of your job search instead of a hosted SaaS

## Dependencies for Dossier Hosting

* PostgreSQL (bundled: Railway's PostgreSQL 18 service on its own volume)
* An API key from an AI provider (OpenAI-compatible, Anthropic or Mistral) for the AI features

### Deployment Dependencies

* Dossier source and documentation: https://github.com/AienTech/dossier
* Dossier v1.15.1 release notes: https://github.com/AienTech/dossier/releases/tag/v1.15.1
* Installation and upgrading guide: https://github.com/AienTech/dossier/wiki
* Template repository: https://github.com/aalfath/dossier-railway-template

### Implementation Details

Services:

* **Dossier** (public): built from the template repository, which pins `ghcr.io/aientech/dossier:v1.15.1` by digest. Port 3000, health check `/api/health`, volume at `/data` for nightly backups and export files, restart on failure.
* **Postgres**: Railway's PostgreSQL 18. Holds your profile, resumes, applications and settings. Stored API keys are encrypted with `DOSSIER_SECRET`.

After deploying:

1. Copy `DOSSIER_LOGIN_PASSWORD` from the Dossier service's variables. It's your sign-in password (no username).
2. Open the public URL and sign in.
3. In **Settings → AI provider**, choose a provider and model and enter your API key. You can also set the optional `DOSSIER_AI_PROVIDER`, `DOSSIER_AI_MODEL` and `DOSSIER_AI_KEY` variables instead.
4. Optional: **Settings → Job search** (JSearch, Adzuna, FreeHire) and **Settings → Google** (Gmail and Calendar, redirect URI `https://YOUR-DOMAIN/api/google/callback`).

To change the password, edit `DOSSIER_LOGIN_PASSWORD` and redeploy. Keep `DOSSIER_SECRET` unchanged: changing it signs you out and makes saved API keys unreadable.

Resources: the app fits Railway's 0.5 GB plan with the Node heap capped at 320 MB, PDF printing included. For heavy PDF use, give the Dossier service 1 GB.

Updates: when we bump the pinned Dossier version in the template repository, Railway shows an "update available" notice on your project, and you choose when to apply it. Migrations run on start. Read the repository's CHANGELOG.md and Dossier's release notes first.

## 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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/dossier-2
