Deploy HomeDrive - Simple Google Drive
Self Hosted ,Simple google drive Clone
home-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
| 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 |
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. |
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
home-drive
bilalnawaz072/home-drive