---
title: "Deploy Nextcloud"
description: "Nextcloud server on Railway!"
category: "Other"
url: https://railway.com/deploy/LddOJ1
---

# Deploy Nextcloud

Nextcloud server on Railway!

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

- **Creator:** Vin
- **Category:** Other
- **Total deploys:** 405

## Template content

### Nextcloud

- **Image:** nextcloud
- **Public domain:** Yes

## Documentation

Tired of Google, OneDrive, Dropbox? Why not use Nextcloud on Railway to store all your files!

This template will automatically set you up for success with Nextcloud.

### Environment Variable Configuration
- `PORT` should be set to 80. Anything else and it won't work
- `SQLITE_DATABASE` you can give this any name you want with the `.db` file extension.
- `NEXTCLOUD_TRUSTED_DOMAINS` (not set by default) Optional space-separated list of domains

If there are any issues with it, just let me know in the Railway Discord, and I'll gladly fix them!

## 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/LddOJ1
