---
title: "Deploy opencloud"
description: "secure file sync, sharing, and web access"
category: "Storage"
url: https://railway.com/deploy/opencloud
---

# Deploy opencloud

secure file sync, sharing, and web access

**[Deploy opencloud on Railway](https://railway.com/template/opencloud)**

- **Creator:** kmaki's Projects
- **Category:** Storage
- **Total deploys:** 6

## Template content

### opencloud

- **Image:** opencloudeu/opencloud-rolling:6.0.0
- **Start command:** `sh -c 'opencloud init || true; exec opencloud server'`
- **Public domain:** Yes

## Documentation

# Deploy and Host OpenCloud on Railway

## About Hosting OpenCloud on Railway

OpenCloud runs on Railway using the official upstream Docker image, with Railway handling HTTPS ingress and deployment lifecycle. This setup keeps runtime behavior close to upstream while enabling fast template-based provisioning.

## Tech Stack

* OpenCloud (Go-based platform)
* Docker image deployment (Railway image source)
* Railway managed networking and TLS

## Why Deploy OpenCloud on Railway

Railway provides simple image-based deployment, managed domains, and environment-variable driven configuration, which fits OpenCloud's container-first operations model.

## Common Use Cases

Self-hosted file sync and sharing, team collaboration workspaces, and secure browser-based file access with API integration.

## Deployment Notes

Use `opencloudeu/opencloud-rolling:6.0.0` (pinned upstream tag), route Railway to container port `9200` via `PORT`, and set `PROXY_TLS=false` so OpenCloud serves plain HTTP behind Railway's TLS edge. OpenCloud requires first-run initialization, so set start command to `sh -c 'opencloud init || true; exec opencloud server'`. `OC_URL` should be `https://${{RAILWAY_PUBLIC_DOMAIN}}`.

## Dependencies for OpenCloud on Railway

This template uses a single self-contained OpenCloud service with no external database dependency required for baseline startup.

### Deployment Dependencies

| Service   | Image                               | Port | Volume |
| --------- | ----------------------------------- | ---- | ------ |
| opencloud | opencloudeu/opencloud-rolling:6.0.0 | 9200 | -      |


## Similar templates

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [EasyImg](https://railway.com/deploy/easyimg) — Simple self-hostable Nuxt.js personal image hosting system.

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