Railway

Deploy HomeDrive - Simple Google Drive

Self Hosted ,Simple google drive Clone

Deploy HomeDrive - Simple Google Drive

Just deployed

/app/files

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

DependencyRequiredDescription
Railway VolumeYesRequired to store uploaded files persistently.
Node.jsYesRuntime environment managed by Railway Nixpacks.

Deployment Dependencies

ResourceLink
GitHub RepositoryMawfyy/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 TypeTarget Port
HTTP Proxy3000

Environment Variables

VariableRequiredDescription
FILES_DIRYesDirectory for storing uploaded files.
PORTNoInternal application listening port.
HOSTNoBind to all interfaces for Railway.
FILES_DIR=/app/files
PORT=3000
HOST=0.0.0.0

Persistent Storage

Open Railway Service Settings Volumes Add Volume Mount Path:

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


Template Content

More templates in this category

View Template
Garage S3 Storage
Ultra-light S3 server: fast, open-source, plug-and-play.

PROJETOS
8
View Template
Redis
Self Host Latest Redis with Railway

Arloodots
2
View Template
NEW
EasyImg
Simple self-hostable Nuxt.js personal image hosting system.

Muhammad Bilal
0