---
title: "Deploy Maxun No-Code Web Scraper"
description: "Maxun no-code web scraper behind a password gateway, with Postgres"
category: "Automation"
url: https://railway.com/deploy/maxun-no-code-web-scraper
---

# Deploy Maxun No-Code Web Scraper

Maxun no-code web scraper behind a password gateway, with Postgres

**[Deploy Maxun No-Code Web Scraper on Railway](https://railway.com/template/maxun-no-code-web-scraper)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/maxun-no-code-web-scraper/manifest.json

- **Creator:** Protemplate
- **Category:** Automation
- **Total deploys:** 2

## Template content

### RustFS https://avatars.githubusercontent.com/u/151849438?v=4

- **Image:** rustfs/rustfs:1.0.4
- **Health check:** /health

### maxun-backend https://avatars.githubusercontent.com/u/139582646?v=4

- **Image:** getmaxun/maxun-backend:v0.1.0
- **Health check:** /

### maxun-gateway https://avatars.githubusercontent.com/u/139582646?v=4

- **Image:** caddy:2.11-alpine
- **Start command:** `sh -c 'echo c2V0IC1lCjogIiR7UE9SVDo/UE9SVCBpcyByZXF1aXJlZH0iCjogIiR7VUlfVVNFUk5BTUU6P1VJX1VTRVJOQU1FIGlzIHJlcXVpcmVkfSIKOiAiJHtVSV9QQVNTV09SRDo/VUlfUEFTU1dPUkQgaXMgcmVxdWlyZWR9Igo6ICIke0JBQ0tFTkRfVVBTVFJFQU06P0JBQ0tFTkRfVVBTVFJFQU0gaXMgcmVxdWlyZWR9Igo6ICIke0ZST05URU5EX1VQU1RSRUFNOj9GUk9OVEVORF9VUFNUUkVBTSBpcyByZXF1aXJlZH0iCjogIiR7U1RPUkFHRV9VUFNUUkVBTTo/U1RPUkFHRV9VUFNUUkVBTSBpcyByZXF1aXJlZH0iCkhBU0g9IiQoY2FkZHkgaGFzaC1wYXNzd29yZCAtLXBsYWludGV4dCAiJFVJX1BBU1NXT1JEIikiCmNhdCA+IC9ldGMvY2FkZHkvQ2FkZHlmaWxlIDw8RU9GCnsKCWF1dG9faHR0cHMgb2ZmCglhZG1pbiBvZmYKCXNlcnZlcnMgewoJCXByb3RvY29scyBoMSBoMmMKCX0KfQo6JFBPUlQgewoJaGFuZGxlIC9nYXRld2F5LWhlYWx0aCB7CgkJcmVzcG9uZCAib2siIDIwMAoJfQoJQGJhY2tlbmQgcGF0aCAvYXV0aCAvYXV0aC8qIC9zdG9yYWdlIC9zdG9yYWdlLyogL3JlY29yZCAvcmVjb3JkLyogL3dvcmtmbG93IC93b3JrZmxvdy8qIC9wcm94eS8qIC93ZWJob29rIC93ZWJob29rLyogL2ludGVncmF0aW9uLyogL2FwaS1kb2NzIC9hcGktZG9jcy8qIC9zb2NrZXQuaW8vKgoJQHNjcmVlbnNob3RzIHsKCQltZXRob2QgR0VUIEhFQUQKCQlwYXRoIC9tYXh1bi1ydW4tc2NyZWVuc2hvdHMvKgoJfQoJaGFuZGxlIEBzY3JlZW5zaG90cyB7CgkJcmV2ZXJzZV9wcm94eSAkU1RPUkFHRV9VUFNUUkVBTSB7CgkJCWhlYWRlcl91cCBIb3N0IHt1cHN0cmVhbV9ob3N0cG9ydH0KCQl9Cgl9CgloYW5kbGUgL2FwaS8qIHsKCQlyZXZlcnNlX3Byb3h5ICRCQUNLRU5EX1VQU1RSRUFNCgl9CgloYW5kbGUgewoJCWJhc2ljX2F1dGggewoJCQkkVUlfVVNFUk5BTUUgJEhBU0gKCQl9CgkJaGFuZGxlIEBiYWNrZW5kIHsKCQkJcmV2ZXJzZV9wcm94eSAkQkFDS0VORF9VUFNUUkVBTQoJCX0KCQloYW5kbGUgewoJCQlyZXZlcnNlX3Byb3h5ICRGUk9OVEVORF9VUFNUUkVBTQoJCX0KCX0KfQpFT0YKZXhlYyBjYWRkeSBydW4gLS1jb25maWcgL2V0Yy9jYWRkeS9DYWRkeWZpbGUgLS1hZGFwdGVyIGNhZGR5ZmlsZQo= | base64 -d > /tmp/start.sh && exec sh /tmp/start.sh'`
- **Health check:** /gateway-health
- **Public domain:** Yes

### maxun-browser https://avatars.githubusercontent.com/u/139582646?v=4

- **Image:** getmaxun/maxun-browser:v0.0.2
- **Health check:** /health

### Postgres https://avatars.githubusercontent.com/u/177543?v=4

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

### maxun-frontend https://avatars.githubusercontent.com/u/139582646?v=4

- **Image:** getmaxun/maxun-frontend:v0.1.0
- **Health check:** /

## Documentation

# Deploy and Host Maxun on Railway

Maxun is an open source, no-code web data extraction platform. Record a robot by clicking through a site in a live browser, then run it on demand, on a schedule, or through the REST API and SDK to get lists, text, markdown, HTML and screenshots back. Plain scraping needs no API keys; AI features (LLM robots, Smart Query, summaries) can use Anthropic, OpenAI or Ollama.

## About Hosting Maxun

This template runs the full Maxun stack on Railway behind a single public Caddy gateway. Maxun has no setting to turn off public sign up, and any signed in user can make the server fetch any URL, so the gateway asks for a username and password before anyone can see the app or register. Without it, anyone who finds the domain could use your instance as a scraping proxy. The REST API under `/api` skips the prompt because it already requires a Maxun API key.

First steps after deploy:

1. Open the **maxun-gateway** service, copy `UI_USERNAME` and `UI_PASSWORD` from its Variables tab, then open its public domain.
2. Enter those credentials in the browser prompt, then click **Register** in Maxun and create your account.
3. Create a robot (Recorder or Scrape), run it, and view the results under Runs.
4. For API access, open **API Key** in the Maxun menu, generate a key, and call `https:///api/...` with the `x-api-key` header.

## Common Use Cases

- Extract product lists, prices or listings from sites without writing scraper code
- Turn web pages into markdown or HTML for LLM and RAG pipelines
- Schedule recurring scrapes and pull results through the REST API

## Dependencies for Maxun Hosting

- **maxun-gateway** (Caddy): the only public service; UI, API and run screenshots on one domain behind a login prompt.
- **maxun-backend**: the Maxun API, run queue and scheduler (private).
- **maxun-frontend**: the Maxun web app (private).
- **maxun-browser**: a headless Chromium server that robots run in (private).
- **RustFS**: S3 compatible storage for screenshots and uploaded documents, with a volume (private).
- **Postgres**: users, robots, runs and the job queue, with a volume.

### Deployment Dependencies

- Maxun: https://github.com/getmaxun/maxun
- Caddy: https://caddyserver.com
- RustFS: https://github.com/rustfs/rustfs

### Key Variables

| Service | Variable | Purpose |
|---------|----------|---------|
| maxun-gateway | `UI_USERNAME`, `UI_PASSWORD` | Login prompt in front of the whole app |
| maxun-backend | `JWT_SECRET`, `ENCRYPTION_KEY`, `SESSION_SECRET` | Generated secrets. Never rotate `ENCRYPTION_KEY` after saving proxy or LLM credentials |
| maxun-backend | `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `OLLAMA_BASE_URL` | Optional, for AI features |
| maxun-backend | `MAXUN_TELEMETRY` | Upstream telemetry, off by default |
| maxun-backend | `WORKER_CONCURRENCY` | How many robot runs execute at once (default 10) |

Notes: needs the Hobby plan or higher (the backend and the browser each want more than 1 GB of RAM under load). RustFS stands in for MinIO, whose images are no longer published. Google Sheets and Airtable integrations need your own OAuth apps (optional variables on maxun-backend).

## Why Deploy Maxun 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 Maxun 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/maxun-no-code-web-scraper
