---
title: "Deploy N8N-PUPPETEER"
description: "Deploy n8n with Puppeteer browser automation and PostgreSQL on Railway."
category: "Automation"
url: https://railway.com/deploy/n8n-puppeteer
---

# Deploy N8N-PUPPETEER

Deploy n8n with Puppeteer browser automation and PostgreSQL on Railway.

**[Deploy N8N-PUPPETEER on Railway](https://railway.com/template/n8n-puppeteer)**

- **Creator:** statin26's Projects
- **Category:** Automation
- **Total deploys:** 4

## Template content

### Postgres https://cdn.jsdelivr.net/gh/devicons/devicon/icons/postgresql/postgresql-original.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:16
- **Start command:** `/bin/sh -c "unset PGPORT; docker-entrypoint.sh postgres --port=5432"`

### n8n-puppeteer https://avatars.githubusercontent.com/u/45487711?s=200&v=4

- **Source:** https://github.com/statin26/n8n-puppeteer
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host N8N-PUPPETEER on Railway

N8N-PUPPETEER is a self-hosted workflow automation platform powered by n8n, bundled with Puppeteer browser automation and PostgreSQL persistence. It enables users to create automated workflows, scrape websites, interact with browser-based applications, and connect APIs through a visual low-code interface.

---

## About Hosting N8N-PUPPETEER

Hosting N8N-PUPPETEER on Railway provides a fully managed deployment experience for browser automation and workflow orchestration. This template combines n8n for automation, Puppeteer for headless browser control, and PostgreSQL for workflow storage and execution history.

Railway automatically provisions networking, deployment infrastructure, environment variables, and persistent services, allowing developers to launch production-ready automation systems quickly. The included Puppeteer support enables advanced tasks such as web scraping, automated testing, authentication flows, PDF generation, and browser interaction workflows directly inside n8n pipelines.

This setup is ideal for teams building scalable automation systems without managing Docker infrastructure manually.

---

## Common Use Cases

* Automating web scraping and browser interaction workflows
* Creating API integrations and scheduled automation pipelines
* Running headless browser tasks such as login automation, screenshots, and PDF generation

---

## Dependencies for N8N-PUPPETEER Hosting

* n8n
* PostgreSQL
* Puppeteer / Chromium

### Deployment Dependencies

* n8n Official Website:
  [n8n](https://n8n.io?utm_source=chatgpt.com)

* Puppeteer Documentation:
  [Puppeteer Docs](https://pptr.dev?utm_source=chatgpt.com)

* PostgreSQL Documentation:
  [PostgreSQL Docs](https://www.postgresql.org/docs/?utm_source=chatgpt.com)

* Railway Platform:
  [Railway](https://railway.com?utm_source=chatgpt.com)

---

## Implementation Details

Example environment configuration:

```env
DB_TYPE=postgresdb
DB_POSTGRESDB_HOST=${{Postgres.PGHOST}}
DB_POSTGRESDB_PORT=${{Postgres.PGPORT}}
DB_POSTGRESDB_DATABASE=${{Postgres.PGDATABASE}}
DB_POSTGRESDB_USER=${{Postgres.PGUSER}}
DB_POSTGRESDB_PASSWORD=${{Postgres.PGPASSWORD}}

PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
```

Example Puppeteer workflow use cases inside n8n:

```javascript
const browser = await puppeteer.launch({
  headless: true
});

const page = await browser.newPage();
await page.goto('https://example.com');

const title = await page.title();

await browser.close();

return title;
```

---

## Why Deploy N8N-PUPPETEER 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 N8N-PUPPETEER 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

- [N8N Main + Worker](https://railway.com/deploy/n8n-main-worker) — Deploy and Host N8N with Inactive worker.
- [Evolution API with n8n](https://railway.com/deploy/evolution-api-with-n8n) — Automate WhatsApp workflows with Evolution API, n8n, and Postgres.
- [Postgres Backup](https://railway.com/deploy/postgres-s3-backups) — Cron-based PostgreSQL backup to bucket storage

Open this page in a browser: https://railway.com/deploy/n8n-puppeteer
