---
title: "Deploy PancakeSlicer"
description: "Self-hosted non-planar 3D-printer slicer with a web UI"
category: "Other"
url: https://railway.com/deploy/deploy-pancakeslicer-3d-slicer
---

# Deploy PancakeSlicer

Self-hosted non-planar 3D-printer slicer with a web UI

**[Deploy PancakeSlicer on Railway](https://railway.com/template/deploy-pancakeslicer-3d-slicer)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/deploy-pancakeslicer-3d-slicer/manifest.json

- **Creator:** onepush
- **Category:** Other

## Template content

### pancakeslicer https://api.iconify.design/mdi/printer-3d-nozzle.svg

- **Image:** ghcr.io/onepush-dev/pancakeslicer:0.5.0
- **Health check:** /api/healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host self hosted PancakeSlicer (Other) on Railway

This template deploys PancakeSlicer, an independently packaged, self-hosted browser slicer for non-planar 3D printing, built on the OrcaSlicer engine.

## About Hosting PancakeSlicer open-source software on Railway (self hosted PancakeSlicer template)

This template runs the unmodified PancakeSlicer 0.5.0 image as a single service called pancakeslicer, with a public domain on port 8080 and a volume mounted at /data.

This is independent community packaging of ZimengXiong/PancakeSlicer v0.5.0. It is not affiliated with or endorsed by PancakeSlicer or OrcaSlicer.

## Why Deploy PancakeSlicer, the self-hosted browser 3D-printer slicer on Railway

Running PancakeSlicer on Railway gives your whole makerspace or household one shared slicer and one set of profiles, with nothing to install on each computer.

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 PancakeSlicer 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.

### Railway vs Other Hosting Providers and VPS for PancakeSlicer self hosting

Railway gives you a managed PancakeSlicer deploy with a public domain, a persistent volume, and a health check preconfigured.

| Provider | What You Get with Railway | What You Get with the Other Provider |
|---|---|---|
| DigitalOcean | A template with the container, a /data volume, a public domain, and health checks ready. | A Droplet you size and secure yourself, with Docker, volume, proxy, and restarts set up by hand. |
| AWS | One service with the same image, volume, and restart policy, without touching networking. | Wide EC2, storage, and networking control, which means more setup and upkeep. |
| Hetzner | A managed deploy from the template, with the runtime and health checks handled for you. | Low-cost servers where you install and run the container stack yourself. |

Pick based on how much infrastructure you want to manage.

## Common Use Cases for hosted PancakeSlicer

- **Non-planar top surfaces for a shared printer:** A maker group keeps one instance online so everyone uploads a model in the browser, slices it with curved top surfaces, and downloads the G-code.
- **Quick slicing from a tablet:** You open the public domain at the workbench, import an STL, pick a printer and filament profile, and preview the toolpaths before sending the file to your printer by hand.
- **Projects that survive restarts:** Your model library, projects, profiles and preferences live on the /data volume, so a redeploy leaves your work where you left it.
- **Comparing non-planar settings:** You slice the same part with different modes, compare the G-code previews, and keep only the version that looks safe to run under supervision.
- **One central slicer for a household:** Family members and friends reach the same instance from a browser, and the settings stay in one place.

## Dependencies for PancakeSlicer Docker hosted on Railway

This template runs one public service on port 8080 with a volume at /data, health check /api/healthz (timeout 300 seconds), and restart policy Always. Keep one replica, because projects and jobs live on that volume.

### Deployment Dependencies for Managed PancakeSlicer Service

The pancakeslicer service exposes port 8080 on a public Railway domain and mounts a volume at /data for the library, projects, profiles, preferences and jobs. The health check is /api/healthz with a 300 second timeout, and the restart policy is Always.

### Implementation Details for PancakeSlicer

The image is ghcr.io/onepush-dev/pancakeslicer:0.5.0, the unmodified upstream ghcr.io/zimengxiong/pancakeslicer:0.5.0 image, with USER 0 added because Railway volumes are root-owned and the upstream image runs as uid 65532. There is no start wrapper. Baked values are ORCA_WEB_LISTEN=0.0.0.0:8080, ORCA_WEB_PRINTER_NETWORK=off, ORCA_WEB_MAX_JOBS=2 and PANCAKE_STAGE_CACHE_MAX_MB=1024. Printer networking stays off because a LAN printer is not reachable from Railway. Slicing is CPU and RAM heavy; an upstream memory limit of 8g in other deploy docs is packaging guidance, not a Railway guarantee.

The template has one generated variable and no inputs:

- **ORCA_WEB_BEARER_TOKEN** is the access token. Paste it when the web UI asks. Uploads, slicing and settings changes need it. Viewing stays open without it.

## How does PancakeSlicer compare against other tools

### PancakeSlicer vs a desktop slicer on your computer (Desktop Slicer Alternative)

- **Where it runs:** PancakeSlicer runs as a web app on Railway, so one shared slicer and one set of profiles are reachable from any browser.
- **Access control:** Viewing stays open, but the generated access token is required for uploads, slicing and settings changes.
- **Where the desktop wins:** A local install works offline, avoids a network hop and suits one person on one machine.
- **Printer access:** Printer networking is off because a LAN printer is not reachable from Railway, so you download the G-code and send it yourself.

### PancakeSlicer vs a VNC-wrapped desktop slicer (VNC Slicer Alternative)

- **Native web UI:** PancakeSlicer is a real browser application, not a remote desktop session streamed into a tab.
- **Interaction model:** A VNC wrapper forwards input over a remote display, which can feel laggy on 3D viewports, while PancakeSlicer renders in the browser.
- **Where VNC wins:** Wrapping an existing desktop app keeps its full feature set and familiar menus without waiting for a web port.
- **Scope:** PancakeSlicer focuses on non-planar slicing with the OrcaSlicer engine, so check that the features you rely on are covered.

### PancakeSlicer with Docker vs Railway (Docker Hosting Alternative)

- **Setup effort:** A self-run Docker host needs you to manage the volume at /data, a reverse proxy and health checks, which Railway wires for you.
- **Writable volume:** This template adds USER 0 because Railway volumes are root-owned and the unmodified upstream image runs as uid 65532.
- **Where Docker wins:** Your own host gives full choice of hardware and networking, and you can tune memory and CPU exactly for slicing.
- **Where Railway wins:** Railway removes most host maintenance, but keep one replica because local persistent state does not scale across instances.

## How to use PancakeSlicer on Railway?

Follow these steps on your first day after the deploy finishes.

1. Open the public domain that Railway assigned to the pancakeslicer service. The UI loads without a token, so you can look around straight away.
2. When the UI asks for an access token, copy ORCA_WEB_BEARER_TOKEN from the Variables tab and paste it in. Uploads, slicing and settings changes all need it.
3. Import a model, pick a printer and filament profile, and slice. Slicing is CPU and RAM heavy, so expect a wait on a small plan.
4. Preview the result and download the G-code once it looks right. Check non-planar top surfaces carefully before printing.
5. Keep one replica. Local state lives on the /data volume, so extra replicas can cause conflicting writes.

```
Open the public domain, then paste ORCA_WEB_BEARER_TOKEN when prompted
Import model -> pick printer + filament profile -> slice
Preview -> download G-code
Replicas: 1    Health check: /api/healthz
```

## How to self host PancakeSlicer on other VPS Services (PancakeSlicer self hosting guide)

### Clone the Repository

Clone the upstream repository on a server you control, then check out the pinned release tag this template packages.

```bash
git clone https://github.com/ZimengXiong/PancakeSlicer.git
cd PancakeSlicer
git checkout v0.5.0
```

### Install Dependencies

You need a container runtime such as Docker.

```bash
docker --version
docker compose version
```

### Configure Environment Variables

Set an access token and create a persistent data directory.

```bash
export ORCA_WEB_BEARER_TOKEN="replace-with-a-long-random-value"
export ORCA_WEB_LISTEN="0.0.0.0:8080"
export ORCA_WEB_PRINTER_NETWORK="off"
mkdir -p /srv/pancakeslicer/data
```

### Start the PancakeSlicer Application

Run the documented container with the data directory mounted at `/data` and the token passed in.

## Pricing and License of PancakeSlicer (PancakeSlicer pricing)

PancakeSlicer is open-source software released under the AGPL-3.0 license, and you are free to self-host it.

## PancakeSlicer hosted vs self hosted comparison (Pricing, features, costs, and more)

This template packages the AGPL-3.0 licensed PancakeSlicer software, and the pinned v0.5.0 source tree does not describe a hosted plan.

### Monthly cost of self hosting PancakeSlicer on Railway

Railway bills on usage, so cost depends on RAM, CPU and volume size.

### System Requirements for Hosting PancakeSlicer on a VPS

Slicing is CPU and RAM heavy. Upstream suggests an 8 GB limit as guidance only.

## Frequently Asked Questions (FAQs)

### How do I unlock changes in my PancakeSlicer instance?

Paste the value of ORCA_WEB_BEARER_TOKEN from the service Variables tab when the web UI asks for an access token.

### Can I send a print directly to a printer on my home network?

No. Printer networking is off because a LAN printer is not reachable from Railway. Download the G-code and send it from a machine on the printer's network.

### Do I need the token to view the app?

No. Viewing the UI stays open. The token is required only when you upload a model, start a slice or change settings.

### What should I back up?

Back up the /data volume, which holds your library, projects, profiles, preferences and jobs.

### Is this affiliated with OrcaSlicer?

No. This packaging is not affiliated with or endorsed by PancakeSlicer or OrcaSlicer. OrcaSlicer is named only to describe the engine.


## 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) — Self-hosted virtual tabletop for role-playing games (license required)
- [Double Commander in your browser](https://railway.com/deploy/double-commander-in-your-browser) — The Double Commander file manager in the cloud, from any device

Open this page in a browser: https://railway.com/deploy/deploy-pancakeslicer-3d-slicer
