Skip to main content
Repository migration planned. The GitHub repository is moving to reactive-resume/app. Docker Hub stays at amruthpillai/reactive-resume; GHCR is moving to ghcr.io/reactive-resume/app. The GHCR examples below use the new address. Keep your current image configuration until the pinned migration announcement confirms availability.
From v5.1.0 onwards — PDF generation now runs entirely client-side via @react-pdf/renderer. New deployments no longer require Browserless, Chromium, or any external print service as a dependency. The PRINTER_* and BROWSERLESS_* environment variables are no longer read and can be removed from your .env.

Overview

Reactive Resume can be self-hosted with Docker. These are the services you’ll need: The official image runs one application container that serves both the web app and API. PostgreSQL must run as a separate service and the app connects to it through DATABASE_URL; no all-in-one image with an embedded database is planned. Follow the Docker Compose quickstart below for the supported setup.

PostgreSQL

Stores accounts, resumes, and application data.

Email (optional)

SMTP for verification emails, password reset, etc. If not configured, emails are logged to the server console.

Storage (optional)

Use S3-compatible storage, or local persistent storage via /app/data.
You can pull the latest app image from:
  • Docker Hub: amruthpillai/reactive-resume:latest
  • GitHub Container Registry: ghcr.io/reactive-resume/app:latest

Switching an existing GHCR installation

After the new GHCR image is confirmed available, replace ghcr.io/amruthpillai/reactive-resume with ghcr.io/reactive-resume/app in your deployment configuration. Keep your current version tag only if that tag exists at the new address. Historical tags are not copied automatically, and the old GHCR address does not redirect. Docker Hub users need no image-name change. Changing registries does not require deleting containers’ persistent volumes, resetting the database, or migrating resumes. Normal upgrade instructions still apply if you also change the application version. If you verify image signatures, update the accepted workflow identity for new releases to the workflow under reactive-resume/app; retain the old identity when verifying historical releases.

Minimum requirements

Docker + Docker Compose

Docker Engine + Docker Compose plugin (or Docker Desktop).

Compute

1 vCPU / 1 GB RAM minimum (2 GB recommended if Postgres runs on the same host).

Storage

Enough for Postgres + uploads (start with 10-20 GB and scale as needed).

Smallest supported setup

  1. Provide a separate, healthy PostgreSQL service. In the example below, its service name is postgres.
  2. Put APP_URL, DATABASE_URL, and AUTH_SECRET in a private .env file. Set the database host in DATABASE_URL to a name or address reachable from the app container.
  3. If S3 is disabled, mount persistent storage for app uploads at /app/data.
  4. Attach the reactive-resume app service and PostgreSQL service to the intended private container network. Do not expose PostgreSQL to the public internet.
  5. Launch the services with the Docker Compose quickstart below.
  6. Wait for PostgreSQL, automatic migrations, and the app health check before opening the UI.
The repository’s full compose.yml also defines optional Redis and S3-compatible storage services. Those services are not required for the core resume workflow; use the two-service example below when you only need the app and PostgreSQL. The repository file is a broader source-build stack and publishes administration ports for local use. Before using it on an internet-facing host, remove those host port mappings, bind them to loopback, or restrict them with a firewall.

Quickstart using Docker Compose

Create a new folder (for example reactive-resume/) with:
  • compose.yml
  • .env
  • a persistent data directory for uploads (for example ./data)
1

Create your .env

Start by creating a .env file next to your compose.yml.The Compose example below reads .env directly. If you use the repository’s compose.yml instead, copy its .env.example into the same folder. That file supplies defaults before your .env overrides are applied.
.env
2

Generate AUTH_SECRET

Generate a strong secret and paste it into AUTH_SECRET.
3

Create compose.yml

This setup runs Postgres and Reactive Resume on a private Docker network.
Prefer pulling from Docker Hub? Keep amruthpillai/reactive-resume:latest. Prefer GHCR? Swap it to ghcr.io/reactive-resume/app:latest.
In Docker, the Reactive Resume server listens on PORT and serves both the API and the built web app. The default image uses PORT=3000, so the example maps 3000:3000. If you change PORT, update the container-side port mapping and health check to match.
4

Start the stack

Reactive Resume should now be available at your APP_URL (for the example above: http://localhost:3000).

Unraid and other homelab platforms

Use your platform’s generic container configuration to create two separately managed containers: one for Reactive Resume and one for PostgreSQL. No official Unraid Community Applications template is provided.
  • Use the official amruthpillai/reactive-resume:latest or ghcr.io/reactive-resume/app:latest image for the app container.
  • Map the app’s container port 3000 to the host port you want to use.
  • Connect both containers to a private container network. Set the host in DATABASE_URL to the PostgreSQL container or service name reachable on that network.
  • Set APP_URL, DATABASE_URL, and AUTH_SECRET as private environment variables.
  • When S3 is disabled, map persistent app upload storage to /app/data.
  • Give PostgreSQL its own persistent data volume and manage it independently from the app container.
localhost inside the Reactive Resume container refers to that app container. It cannot reach a separate PostgreSQL container. Use the PostgreSQL container or service name on the private network instead.
After starting both containers, wait for PostgreSQL to become healthy and check the app logs while automatic migrations run. Open the UI only after the app health check succeeds.

How startup works (database migrations)

On every start, the server automatically runs database migrations before serving traffic. If migrations fail (usually due to a DB connection issue), the container will exit with an error.

Environment variables

Required

  • APP_URL
  • DATABASE_URL
  • AUTH_SECRET

Optional

  • SMTP (SMTP_*)
  • Social auth (GOOGLE_*, GITHUB_*, LINKEDIN_*, OAUTH_*)
  • S3 storage (S3_*)
  • AI providers and AI Agent workspace (ENCRYPTION_SECRET, REDIS_URL)
  • Feature flags (FLAG_*)
  • TZ: Sets the container timezone (affects logs and server-side timestamps). Recommended: Etc/UTC.
  • APP_URL: Canonical/public URL for your instance (used for absolute URLs, redirects, and auth flows). If behind a reverse proxy, set this to your public HTTPS URL (for example, https://resume.example.com).
  • PORT: Port the production Docker container listens on. Defaults to 3000 in the official image. If you change it, update your Compose port mapping and health check from 3000 to the new container port.
  • SERVER_PORT: Used only for local development when the Vite web app and Hono server run as separate processes. It is ignored by the production Docker image.
  • DATABASE_URL: Postgres connection string in the format postgresql://USER:PASSWORD@HOST:PORT/DATABASE. - In Docker Compose, set HOST to the Postgres service name (e.g. postgres), not localhost. - If your password contains special characters (@, #, :), URL-encode it. - For managed Postgres, add provider-specific params (for example ?sslmode=require) when needed.
AUTH_SECRET: Secret used to secure authentication. Changing it invalidates existing sessions.Generate with:
GOOGLE_CLIENT_ID / GOOGLE_CLIENT_SECRET (optional): Enables Google sign-in.GITHUB_CLIENT_ID / GITHUB_CLIENT_SECRET (optional): Enables GitHub sign-in.LINKEDIN_CLIENT_ID / LINKEDIN_CLIENT_SECRET (optional): Enables LinkedIn sign-in.BETTER_AUTH_API_KEY (optional): Enables Better Auth dashboard integrations.Custom OAuth provider (optional):
  • OAUTH_PROVIDER_NAME: Display name in the UI
  • OAUTH_CLIENT_ID / OAUTH_CLIENT_SECRET: Required for any custom OAuth provider
  • OAUTH_SCOPES: Space-separated scopes (defaults to openid profile email)
Configure endpoints using one of these methods:
  • Option A (OIDC Discovery, preferred): Set OAUTH_DISCOVERY_URL to your provider’s .well-known/openid-configuration URL
  • Option B (manual URLs): Set all three: OAUTH_AUTHORIZATION_URL, OAUTH_TOKEN_URL, and OAUTH_USER_INFO_URL
If SMTP is not configured, the app logs emails to the server console instead of sending them.
  • Email delivery is enabled only when all of SMTP_HOST, SMTP_USER, SMTP_PASS, and SMTP_FROM are set.
  • SMTP_HOST: SMTP host (if empty, email sending is disabled).
  • SMTP_PORT: Defaults to 587 in the app.
  • SMTP_USER / SMTP_PASS: SMTP credentials.
  • SMTP_FROM: Default from address (for example, Reactive Resume <[email protected]>).
  • SMTP_SECURE: "true" or "false" (string). Match your provider settings.
  • Default (local): If all S3_* values are empty, uploads are stored under /app/data in the official image.
  • Mount local uploads to persistent storage (for example ./data:/app/data) or uploads can be lost on container recreation.
  • LOCAL_STORAGE_PATH (optional): Overrides the local data directory. Defaults to /app/data in the official Docker image and <workspace>/data in development. The container validates this path is writable at startup and refuses to start otherwise.
  • Rootless Docker: /app/data remains the container path. Prefer the named volume from the example Compose file, or make sure a bind-mounted host directory is writable by the container’s node user mapping.
  • S3/S3-compatible: Configure S3_ACCESS_KEY_ID, S3_SECRET_ACCESS_KEY, S3_REGION, S3_ENDPOINT, and S3_BUCKET.
  • Agent attachments/private objects: The AI Agent workspace requires S3-compatible storage for private objects. Local storage rejects private objects.
  • S3_FORCE_PATH_STYLE controls bucket addressing (defaults to "false"):
    • "true" for path-style URLs (https://endpoint/bucket) common with MinIO/SeaweedFS.
    • "false" for virtual-hosted-style URLs (https://bucket.endpoint) common with AWS S3 / Cloudflare R2.
Saved AI provider management is usable only when ENCRYPTION_SECRET is configured. The AI Agent workspace also requires REDIS_URL. The rest of Reactive Resume can run without them.
  • REDIS_URL: Redis connection string used by the AI Agent workspace.
  • ENCRYPTION_SECRET: Secret used to encrypt saved AI provider credentials. Generate with openssl rand -hex 32.
  • Live web research depends on the selected AI provider/model supporting native web search. The app does not run its own URL crawler.
If you use the Postgres-only Compose example above and want the AI Agent workspace, add a Redis service or use managed Redis, then set REDIS_URL.
  • FLAG_DISABLE_SIGNUPS: Disables new signups (web app and server). Useful for private instances.
  • FLAG_DISABLE_EMAIL_AUTH: Disables email/password login entirely. Also disables email verification, forgot password, and reset password flows. Users can still sign up via social auth (Google/GitHub/LinkedIn/Custom OAuth), unless FLAG_DISABLE_SIGNUPS is also set to true. Useful when only SSO is required.
  • FLAG_DISABLE_IMAGE_PROCESSING: Disables image processing. This is useful if you are using a machine with limited resources, like a Raspberry Pi.
  • FLAG_DISABLE_API_RATE_LIMIT: Disables API rate limiting for authentication endpoints. Rate limiting is enabled by default in production to prevent abuse.
  • FLAG_ALLOW_UNSAFE_OAUTH_REDIRECT_URI: Allows dynamic OAuth client registration to use any parseable redirect URI, including custom schemes, private hosts, and non-loopback http:// URLs. Warning: enabling this on a public or multi-tenant deployment can enable phishing or token exfiltration. Only enable on trusted, self-hosted deployments.
  • FLAG_ALLOW_UNSAFE_AI_BASE_URL: Allows AI providers to be configured with unsafe, private, or non-public base URLs, including http:// and private/loopback addresses (for example, a local Ollama instance at http://192.168.1.10:11434). Public HTTPS provider URLs remain the safe default. Warning: enabling this on a multi-tenant deployment is an SSRF risk. Only enable on trusted, self-hosted deployments.

Updating your installation

To update an installation created from the image-based quickstart above to the latest version, follow only the numbered steps below. If you use the repository’s full compose.yml, use the separate source-build path after these steps.
  1. Back up your database and uploads first. Do this before every update. The database and upload storage are independent resources. Recreating the app container must preserve both the PostgreSQL data volume or managed database and the /app/data mount or S3 bucket.
  2. Pull the latest app image. Leave the PostgreSQL service unchanged.
  3. Recreate only the app container to run the new image.
  4. Check migration/startup logs after deploy.
  5. (Optional) Remove old, unused Docker images to free up disk space.

Update from the repository Compose file

The repository’s full compose.yml names its build-only app service reactive_resume. After confirming its dependencies are healthy, rebuild that service and follow its migration/startup logs with:
Do not run docker compose pull for this build-only service. This process updates the app container and automatically runs DB migrations on startup. If migration fails, restore from backup and fix configuration before retrying. Update PostgreSQL separately from the app. Choose a supported, major-pinned PostgreSQL image or select the target version through your managed provider, then follow that image’s, host’s, or provider’s upgrade procedure. Back up the database and verify that the backup can be restored before a major-version upgrade. Pulling a new app image and running app migrations do not upgrade the PostgreSQL server. Reactive Resume stores data in two places: the PostgreSQL database and file uploads (either local storage or S3). Back up both on a regular schedule. Test restores for both resources. An app container backup alone does not include the separate database or uploads, and recreating the app container must not replace either persistent resource.

Database backups

Your PostgreSQL database holds all user accounts, resumes, and application data. Use pg_dump to take periodic backups and store them somewhere secure. Many providers of managed PostgreSQL also offer automated backups that handle scheduling, retention, and restores for you.

Upload backups

If you’re using local storage (the ./data directory), include this directory in your regular backup routine. A simple approach is to use rsync or a similar tool to copy the directory to a remote server or cloud storage. If you’re using S3-compatible storage, consider enabling versioning on your bucket to protect against accidental deletions. Most S3 providers also support lifecycle rules for automatic cleanup of old versions and cross-region replication for disaster recovery.

Health checks

Reactive Resume exposes a health check endpoint at /api/health that verifies the application and its dependencies. It checks database and storage; if either is unhealthy, the endpoint returns HTTP 503.

How it works

The Docker Compose configuration includes a health check that periodically calls the /api/health endpoint:
When the health check fails, Docker marks the container as unhealthy. This status is visible when running docker compose ps or docker ps.

Reverse proxy integration

Most reverse proxies (such as Traefik, Caddy, or nginx with upstream health checks) can use Docker’s health status to make routing decisions:
  • Healthy containers receive traffic as normal
  • Unhealthy containers are automatically removed from the load balancer pool
This is particularly useful in high-availability setups where you have multiple instances of Reactive Resume. If one instance becomes unhealthy (for example, it loses database or storage connectivity), the reverse proxy will stop routing traffic to it until it recovers.
If you’re using Traefik, it automatically respects Docker health checks when using the Docker provider. Unhealthy containers are excluded from routing without any additional configuration.

Manually checking health

To check your instance yourself:
A healthy response returns HTTP 200. If you get a different status code, the JSON response body says what failed. If the connection is refused or times out there is no response to read, so check the container and reverse-proxy logs instead.

Troubleshooting

  • Common cause: database migrations failed (often a bad DATABASE_URL).
  • What to do: Check logs for migration errors and database connectivity details:
  • Common cause: APP_URL doesn’t match the URL you’re actually using (especially behind a reverse proxy), or you’re serving HTTPS while APP_URL is http://.... - Fix: set APP_URL to your canonical public HTTPS URL and restart the container.
  • Common cause: PDFs are now rendered in the browser via @react-pdf/renderer, so failures usually come from a blocked download, an extreme browser memory limit, or a custom CSP that strips inline workers. - Checks: confirm the browser is up to date, the page hasn’t been opened in a restricted iframe, and that no extension is intercepting the download. There is no server-side printer to inspect.
  • Common cause: storage health failed (not only database). - Fix: inspect the endpoint response payload and check the storage field: http://127.0.0.1:3000/api/health
  • Cause: local upload storage wasn’t mounted to a persistent volume. - Fix: add a volume mount like ./data:/app/data and redeploy.
  • Expected behavior: if SMTP isn’t fully configured, the app logs emails to the console. - Fix: set SMTP_HOST, SMTP_USER, SMTP_PASS, and SMTP_FROM, then verify SMTP_PORT and SMTP_SECURE.
  • Common cause: redirect URI is not the app origin or a local loopback callback. - Fix: use an app-origin or loopback redirect URI, or enable FLAG_ALLOW_UNSAFE_OAUTH_REDIRECT_URI only on a trusted self-hosted deployment that needs arbitrary redirect URIs.
  • Common cause: The S3 client is using virtual-hosted-style addressing (prepending the bucket name to the endpoint), but your S3-compatible storage expects path-style addressing.
  • Symptom: Error message like getaddrinfo ENOTFOUND mybucket.s3-server.com when your endpoint is s3-server.com.
  • Fix: Set S3_FORCE_PATH_STYLE="true" in your environment. This is required for most self-hosted S3-compatible services like MinIO, SeaweedFS, etc.

Serve a public resume at the instance root

To display one public resume at / instead of the marketing home, set the optional server environment variable ROOT_RESUME_ID on the application service:
Find the resume ID in its owner’s builder URL: /builder/<resume-id>. The resume must already have Allow Public Access enabled in Sharing. This setting does not change its visibility. Password protection and the download-button preference still apply, and the ordinary /<username>/<slug> URL continues to work. Renaming the username or slug does not change the configured ID. Restart the application after setting or changing ROOT_RESUME_ID. With Docker Compose, run docker compose up -d to recreate the application with the new environment. Unset the variable or leave it blank, then restart, to restore the marketing home. A missing, deleted, or private target shows an unavailable page, including when its owner visits /. Keep APP_URL set to the public origin and proxy the whole application normally, including API, uploads, fonts, and assets. Root mode uses that configured origin for its canonical URL; it does not infer a domain from request headers. A successful password challenge returns visitors to /. This is a single-resume setting for one self-hosted instance. It does not register custom domains, manage DNS or TLS, or hide the rest of the application. Login and the dashboard remain available at their usual paths.