Deploy Brave Cloud Browser

Run a private Brave browser in the cloud and use it from any tab.

Deploy Brave Cloud Browser

Just deployed

/config

Deploy and Host Brave Cloud Browser on Railway

Brave logo

Brave is a fast, privacy-focused web browser built on Chromium, with built-in ad and tracker blocking, fingerprinting protection and private windows with Tor. This template runs a full Brave desktop browser in the cloud and streams it to any modern browser tab, so you can open a persistent, isolated browser from a laptop, tablet or locked-down work machine. It uses the LinuxServer.io Brave image, built on the Selkies streaming platform, with a password-protected login and a volume that keeps your profile, bookmarks, extensions and sessions between restarts. The Brave browser is open source under MPL-2.0 with about 24,300 GitHub stars, and the LinuxServer.io image is GPL-3.0. Hosted cloud browsers and virtual desktops usually charge per hour or per seat. Brave on Railway costs about $10–25/month depending on the memory and CPU you give it.


What This Template Deploys

ServicePurpose
braveghcr.io/linuxserver/brave:latest, Brave in a lightweight Linux desktop streamed over the web on port 3000, with a public domain. Volume at /config for the browser profile and settings. 1 GB of shared memory for stable rendering.

Railway serves the domain over HTTPS, which the streaming client needs for smooth video and audio, and the container's built-in login asks for a username and password before showing the desktop.


About Hosting a Cloud Browser

A browser that runs on a server instead of your own device is useful whenever the local machine is the problem: it is slow, shared, locked down, or you simply want a clean, separate identity that is the same everywhere.

Persistent profile. Bookmarks, history, logins, cookies and extensions live on the Railway volume, so the browser is exactly as you left it on every visit.

Use it from anywhere. Open the URL from any device with a modern browser. Nothing to install on the client.

Isolation. Downloads, scripts and trackers run in the container, not on your laptop, which keeps risky browsing away from your own device.

Brave Shields. Ad, tracker and fingerprinting protection work out of the box, so cloud browsing stays quiet and fast.

Clipboard, audio and files. The Selkies web client supports copy and paste, sound, file upload and download, and full-screen mode.

Hardened desktop. HARDEN_DESKTOP is on, which turns off desktop extras such as the terminal so the session is mostly just the browser.


Deploy Brave in Under 5 Minutes

  1. Click Deploy on Railway. The login password is generated for you.
  2. Wait for the service to finish starting; the first boot sets up the desktop.
  3. Copy PASSWORD from the service's variables in Railway.
  4. Open the Railway domain and sign in as admin with that password.
  5. Brave opens in your tab. Sign in to sites, add extensions and set your home page as usual.

Important: Protect the Login

The login is HTTP basic authentication with a long generated password. LinuxServer.io recommends stronger protection for internet-facing desktops, so keep the password private, rotate it if it is ever shared, and consider an authenticating proxy in front for team use. Anyone who signs in controls the browser and every account logged in to it.

Desktop sharing links are turned off with SELKIES_ENABLE_SHARING set to false. Leave it off unless you want to give someone view or control access.


Common Use Cases

  • Separate browsing identity: keep social, research or client accounts in a browser that is not on your laptop.
  • Locked-down work machines: use your own extensions and bookmarks from a computer you cannot install software on.
  • Safer link checking: open unfamiliar links and downloads in an isolated container.
  • Always-on sessions: leave long-running web apps, dashboards or uploads running when your laptop sleeps.
  • Testing and QA: check sites in a clean Chromium-based browser from a fixed server location.
  • Travel: reach the same browser and logins from a borrowed or hotel computer.
  • Low-powered devices: offload heavy web apps from an old laptop or tablet to the server.
  • Shared kiosk: one hardened browser for a small team to use in turn.

Configuration

VariableDefaultDescription
CUSTOM_USERadminUsername for the login prompt
PASSWORD🔐 Auto-generatedPassword for the login prompt
PORT / CUSTOM_PORT3000Web interface port that Railway routes to
TZAsia/JakartaTime zone for the desktop and browser; change it to your own
PUID / PGID1000User and group that own the profile files
HARDEN_DESKTOPtrueTurns off desktop extras such as the terminal
SELKIES_ENABLE_SHARINGfalseKeeps session sharing links off
RAILWAY_SHM_SIZE_BYTES1 GBShared memory, needed for stable rendering
RAILWAY_RUN_UID0Starts the container as root so it can set up the desktop user

Time zone. The default is Asia/Jakarta. Set TZ to a value such as America/New_York or Europe/London so sites show your local time.

Language. Set LC_ALL, for example de_DE.UTF-8 or ja_JP.UTF-8, to start the desktop and browser in another language.

Memory and CPU. A browser with a few tabs runs well with 2 GB of memory. Heavy web apps, video or many tabs need more; raise the service's resources in Railway.

Picture quality. The Selkies sidebar lets you adjust resolution, frame rate and encoding quality to balance sharpness against bandwidth.

Region. Sites see the Railway region's IP address and location. Pick the deployment region that suits the sites you use.

Updates. The image follows the latest tag, so a redeploy installs the newest Brave release. The profile on the volume carries over.

Backups. Everything personal lives on the /config volume. Back it up before major changes.


Tips for a Smooth Session

Use a wired or strong connection. The browser is streamed as video, so a stable connection matters more than raw speed. Lower the frame rate in the sidebar on slow networks.

Match the resolution to your screen. Let the client resize the remote desktop to your window, or pick a fixed size for sharper text on large monitors.

Sync carefully. Brave Sync can link this browser to your other devices. Only turn it on if you are comfortable having those bookmarks and passwords on the server.

Keep extensions lean. Every extension uses memory on the server. Install only the ones you need so the session stays responsive.

Close idle tabs. Tabs keep running when you disconnect, which is great for long jobs but uses CPU and memory you pay for.

Restart when it feels slow. A quick redeploy clears memory and keeps your profile, since it lives on the volume.


Brave Cloud Browser vs. Alternatives

FeatureBrave on RailwayKasm WorkspacesNekoHosted cloud browsers
HostingSelf-hostedSelf-hostedSelf-hostedHosted SaaS
LicenseMPL-2.0 browser, GPL-3.0 imageFree community editionApache-2.0Proprietary
Built-in ad blocking✅Depends on imageDepends on browserVaries
Persistent profile✅✅✅Varies
One-click on Railway✅❌❌Not applicable
Multi-user management❌✅Watch parties✅
PriceAbout $10–25/monthHosting costHosting costOften per hour or seat

Kasm suits organizations that need many managed desktops. Neko is built for shared viewing. Hosted cloud browsers need no setup but bill by usage. This template is the quickest way to get one private, persistent Brave browser in the cloud.


Dependencies for Brave Cloud Browser Hosting

  • A Railway account.

Deployment Dependencies

Implementation Details

The container runs a minimal Linux desktop with Brave as the main application and streams it with Selkies over WebRTC and WebSockets. Railway's proxy handles HTTPS, and the container serves plain HTTP on port 3000 behind it.


Frequently Asked Questions

What does this template deploy? A full Brave browser running in a Linux container on Railway, streamed to your browser tab.

How much does it cost to host? About $10–25/month on Railway, mostly set by the memory and CPU you give it.

How do I sign in? Use admin and the generated PASSWORD from the service's variables in Railway.

Will my bookmarks and logins be kept? Yes. The profile is stored on the /config volume and survives restarts and redeploys.

Is it safe to expose to the internet? It is protected by a long password, but anyone with it controls the browser. Keep it private and add a proxy with stronger login for teams.

Can I change the time zone? Yes. Set TZ to your time zone and redeploy.


Why Deploy and Host Brave Cloud Browser 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 Brave on Railway, you get a private, persistent cloud browser you can open from any device, with your profile kept on your own volume.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0