DEPLOY IN RAILWAY DASHBOARD

Documentation management API with real-time MongoDB sync

🚀 Deploy in Railway Dashboard (Easiest Way)

You're in Settings Tab - Here's What to Do:

Step 1: Configure Build (in Settings tab you're viewing)

Scroll to "Build" section:

  1. Builder: Click dropdown → Select "Dockerfile"
  2. Dockerfile Path: Enter deployment/Dockerfile.railway.docs-api

Step 2: Configure Deploy

Scroll to "Deploy" section (same page):

  1. Click "+ Start Command"
  2. Enter: node dist/apis/backend-docs-api/main.js

Step 3: Configure Health Check

Scroll to Health Check section:

  1. Click "+ Health Check Path"
  2. Enter: /docs-api/health
  3. Timeout: 300

Step 4: Save (if there's a Save button)

Click "Save" if prompted.

Step 5: Go to Deployments Tab

  1. Click "Deployments" tab (top of the panel)
  2. Click "Deploy" button (top right)

Railway will:


Watch the Build

In Deployments tab you'll see:

Click on the deployment to see live logs!


After Success

  1. Go to Settings → Networking
  2. Click "Generate Domain"
  3. Copy the URL
  4. Test: curl https://your-domain.railway.app/docs-api/health

Then we'll sync the data!