Railway

Deploy peek

Self-hosted public URLs for localhost.

Deploy peek

Just deployed

Deploy and Host

peek gives your local server a public URL through your own hosted relay.

This template deploys the peek relay on Railway. After deploy, add your domain and wildcard domain, then use the peek CLI to expose a local app.

About Hosting

Set PEEK_DOMAIN to your domain, without https://.

Example:

example.link

Add both domains to the Railway service:

example.link
*.example.link

Then add the DNS records Railway gives you.

Why Deploy

Deploying the relay gives you your own public tunnel server. Your local machine connects to it with the peek CLI, and public visitors use generated URLs like:

https://{random}.example.link

Common Use Cases

  • Share a local web app demo
  • Test webhooks against localhost
  • Create temporary preview URLs
  • Expose personal apps through your own domain

Dependencies for

The peek CLI runs on your local machine:

peek localhost:3000 --domain --token

GitHub: https://github.com/sasicodes/peek

Deployment Dependencies

  • HTTP Proxy on port 8080
  • PEEK_DOMAIN
  • PEEK_AUTH_TOKEN
  • A domain and wildcard domain pointed to Railway

Template Content

More templates in this category

View Template
N8N Main + Worker
Deploy and Host N8N with Inactive worker.

jakemerson
View Template
Evolution API with n8n
[Jun'26] WhatsApp HTTP REST API with n8n automation, PostgreSQL and Redis.

codestorm
View Template
Postgres Backup
Cron-based PostgreSQL backup to bucket storage

Railway Templates