---
title: "Deploy HomeDrive - Simple Google Drive"
description: "Self Hosted ,Simple google drive Clone"
category: "Storage"
url: https://railway.com/deploy/homedrive
---

# Deploy HomeDrive - Simple Google Drive

Self Hosted ,Simple google drive Clone

**[Deploy HomeDrive - Simple Google Drive on Railway](https://railway.com/template/homedrive)**

- **Creator:** Muhammad Bilal
- **Category:** Storage

## Template content

### home-drive

- **Source:** bilalnawaz072/home-drive
- **Public domain:** Yes

## Documentation

# Deploy and Host home-drive on Railway
Hosting home-drive on Railway simplifies deploying a modern SvelteKit application. Railway manages the underlying infrastructure and builds the application directly from the source code. To ensure that your uploaded files persist across deployments and restarts, a persistent storage volume is required.

## About Hosting home-drive


Networking is handled automatically, with Railway provisioning a secure HTTPS domain for public access. Because home-drive relies on the local filesystem to store files rather than an external database, scaling should be restricted to a single instance to prevent filesystem fragmentation and missing uploads.

## Common Use Cases

* Personal file storage
* Media preview dashboard
* Lightweight file sharing tool

## Dependencies for home-drive Hosting

| Dependency | Required | Description |
| --- | --- | --- |
| Railway Volume | Yes | Required to store uploaded files persistently. |
| Node.js | Yes | Runtime environment managed by Railway Nixpacks. |

### Deployment Dependencies

| Resource | Link |
| --- | --- |
| GitHub Repository | [Mawfyy/home-drive](https://github.com/Mawfyy/home-drive) |

### Implementation Details

## Docker

No Dockerfile is provided in the repository. Railway automatically detects the SvelteKit project and builds it using Nixpacks.

## Public Networking

| Proxy Type | Target Port |
| --- | --- |
| HTTP Proxy | 3000 |

## Environment Variables

| Variable | Required | Description |
| --- | --- | --- |
| `FILES_DIR` | Yes | Directory for storing uploaded files. |
| `PORT` | No | Internal application listening port. |
| `HOST` | No | Bind to all interfaces for Railway. |

```env
FILES_DIR=/app/files
PORT=3000
HOST=0.0.0.0

```

## Persistent Storage

Open Railway Service
Settings
Volumes
Add Volume
Mount Path:

```text
/app/files

```

This volume is strictly required to store uploaded files. Without it, all files will be permanently deleted upon every deployment or container restart.

## Database

No database service is required for this application.

## Build & Start

No custom build or start commands are required. Railway automatically builds the application from the source code using the standard package manager commands.

## Accessing the Application

To access the application, navigate to your Railway Service Settings, locate the Networking section, and click Generate Domain. Open the provided public URL in your browser to access the home-drive web interface and begin uploading files.

## Why Deploy home-drive on Railway?

Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud. It provides a seamless developer experience with built-in continuous integration, automatic HTTPS, and straightforward volume management, making it the ideal platform to host your applications securely and reliably without unnecessary operational overhead.

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