---
title: "Deploy Microsoft Edge"
description: "A private Microsoft Edge cloud browser with remote desktop access"
category: "Other"
url: https://railway.com/deploy/edge
---

# Deploy Microsoft Edge

A private Microsoft Edge cloud browser with remote desktop access

**[Deploy Microsoft Edge on Railway](https://railway.com/template/edge)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/edge/manifest.json

- **Creator:** Rakit
- **Category:** Other

## Template content

### msedge https://devicons.railway.app/edge

- **Image:** ghcr.io/linuxserver/msedge:latest
- **Public domain:** Yes

## Documentation

# Deploy and Host Microsoft Edge on Railway

Microsoft Edge is a Chromium-based web browser developed by Microsoft, offering modern web compatibility, performance, and productivity features. This Railway template runs Microsoft Edge in a cloud-hosted Linux environment using the official LinuxServer.io Docker image, providing browser-based remote desktop access, persistent user profiles, and an accessible workspace from virtually any device.

## About Hosting Microsoft Edge

Hosting Microsoft Edge on Railway allows you to run a complete browser desktop in the cloud without managing a virtual machine, configuring a desktop environment, or maintaining a custom Docker repository.

This template uses the official LinuxServer.io Microsoft Edge Docker image, powered by Selkies for browser-based desktop streaming. Railway handles container deployment, networking, and HTTPS termination, while a persistent volume preserves browser settings, bookmarks, and local files across deployments.

The deployment supports configurable authentication, shared memory allocation, and browser launch options. It requires no external database or additional services, making it suitable for remote browsing, browser compatibility testing, and personal cloud workspaces.

## Common Use Cases

- **Cloud Browser Workspace:** Run Microsoft Edge remotely and access your desktop browser from different devices.
- **Web Application Testing:** Test websites and applications using Microsoft Edge in a cloud-hosted Linux environment.
- **Persistent Browsing Sessions:** Preserve bookmarks, browser extensions, preferences, and local files across redeployments.
- **Remote Development Tools:** Access web-based IDEs, dashboards, and development environments from a remote browser.
- **Browser Isolation:** Separate browser activity from your local operating system, subject to appropriate container isolation and access controls.
- **Remote Desktop Access:** Interact with a graphical desktop through Selkies without installing a separate remote desktop client.

## Dependencies for Microsoft Edge Hosting

- **Docker Image:** `lscr.io/linuxserver/msedge:latest` — official LinuxServer.io Microsoft Edge container.
- **Selkies:** Integrated browser-based desktop streaming environment.
- **Persistent Storage:** Railway volume mounted at `/config` to preserve browser profiles, settings, and files.
- **Shared Memory:** Recommended 1 GB shared memory allocation for Chromium-based browser operation.
- **Networking:** Railway-generated HTTPS domain forwarding to container port `3000`.

No PostgreSQL, Redis, or additional database services are required.

### Implementation Details

**Docker Configuration**

| Configuration | Value |
|---|---|
| Docker Image | `lscr.io/linuxserver/msedge:latest` |
| Service Name | `msedge` |
| HTTP Port | `3000` |
| HTTPS Container Port | `3001` |
| Public Access | Railway HTTPS Domain |
| Persistent Volume | `/config` |
| Recommended Memory | 2 GB or higher |
| Shared Memory | 1 GB |
| Architecture | AMD64 / x86-64 |

**Environment Variables**

```env
RAILWAY_RUN_UID=0
RAILWAY_SHM_SIZE_BYTES=1073741824

PUID=1000
PGID=1000
TZ=Asia/Jakarta

PORT=3000
CUSTOM_PORT=3000

CUSTOM_USER=admin
PASSWORD=${{secret(32)}}

EDGE_CLI=--disable-dev-shm-usage
HARDEN_DESKTOP=true
SELKIES_ENABLE_SHARING=false
```

The template generates a unique login password during deployment using Railway's secret generator.

**Persistent Storage**

Mount a Railway volume at:

```text
/config
```

This directory stores the browser's user profile, bookmarks, extensions, preferences, and local files. Data remains available across container restarts and redeployments as long as the persistent volume is retained.

**Accessing Microsoft Edge**

1. Deploy the template to your Railway project.
2. Open the generated Railway HTTPS domain.
3. Enter the configured `CUSTOM_USER` and `PASSWORD` credentials.
4. Access the Microsoft Edge desktop through your web browser.
5. Start browsing and customize your persistent browser environment.

**Security Considerations**

The LinuxServer.io desktop container can provide powerful access to its container environment. Built-in HTTP Basic Authentication is intended for trusted networks and should not be considered sufficient protection for an internet-facing desktop.

For publicly accessible deployments, use a robust authentication gateway, restrict access to trusted users, and avoid using the browser for highly sensitive operations without additional security controls.

**Resource Recommendations**

Microsoft Edge is resource-intensive compared with typical lightweight web services. Allocate at least 2 GB of memory as an initial recommendation, monitor actual usage, and increase resources when running multiple tabs or demanding web applications.

GPU acceleration is optional and is not configured by this Railway template. Browser rendering performance depends on available CPU resources.

## Why Use Microsoft Edge?

| Feature | Benefit |
|---|---|
| Chromium-Based Engine | Compatibility with modern websites and web applications |
| Cloud-Hosted Browser | Access your browser environment from multiple devices |
| Persistent User Profiles | Retain bookmarks, settings, and extensions |
| Selkies Remote Desktop | Interactive graphical desktop through a web browser |
| Official LinuxServer.io Image | Maintained container distribution with documented configuration |
| Railway Deployment | Simplified container hosting and networking |
| No External Database | Lightweight single-service architecture |
| Customizable Environment | Configure authentication, timezone, and browser options |

## Microsoft Edge vs Alternatives

| Feature | Microsoft Edge | Chromium | Firefox |
|---|---|---|---|
| Browser Engine | Blink | Blink | Gecko |
| LinuxServer.io Docker Image | Yes | Yes | Yes |
| Selkies Remote Desktop | Yes | Yes | Yes |
| Persistent Browser Profiles | Yes | Yes | Yes |
| Chromium Extension Compatibility | Yes | Yes | No |
| Microsoft Edge Compatibility Testing | Native | Partial | No |
| Cloud Browser Deployment | Yes | Yes | Yes |
| Railway Compatible | Yes | Yes | Yes |

Microsoft Edge is especially useful when you need a Chromium-based browsing environment with Microsoft Edge-specific behavior and compatibility.

Chromium is a strong alternative for a more generic Chromium environment, while Firefox provides an independent browser engine for cross-browser testing.

## Why Deploy Microsoft Edge 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 Microsoft Edge 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

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/edge
