Deploy Copyparty

Lightweight highly configurable extremely robust file server

Deploy Copyparty

Copyparty

copyparty/ac

Just deployed

/w

Deploy and Host Copyparty on Railway

Copyparty is a portable, single-file server offering accelerated resumable uploads, deduplication, WebDAV, FTP, media indexing, video thumbnails, audio transcoding, and write-only folders - all with zero mandatory dependencies. It's the ultimate Swiss Army knife for file sharing and media management.

About Hosting Copyparty

Copyparty offers cross-platform compatibility spanning Linux, macOS, Windows, Android, and Raspberry Pi, with advanced features like resumable uploads, on-the-fly zip generation, and granular user permissions. Hosting Copyparty gives you complete control over your file sharing infrastructure without vendor lock-in. Unlike cloud storage services, you own your data and can customize every aspect of the sharing experience. The server handles everything from basic file uploads to complex media streaming, making it perfect for personal clouds, team collaboration, or content distribution networks.

Common Use Cases

  • Personal Cloud Storage - Replace Dropbox/Google Drive with your own private file server
  • Media Streaming Hub - Stream videos, music, and photos with automatic thumbnails and transcoding
  • Team File Collaboration - Share large files with resumable uploads and granular permissions
  • Content Distribution - Distribute software, assets, or media with write-only upload folders
  • Development Asset Sharing - Host build artifacts, documentation, and project files for teams
  • Backup and Sync Server - Create your own backup destination with deduplication

Dependencies for Copyparty Hosting

  • Python 3 - Runtime environment for Copyparty
  • Persistent Storage - Volume for storing uploaded files and configuration
  • Network Access - For file uploads, downloads, and optional WebDAV/FTP access

Deployment Dependencies

Implementation Details

Addon Script

This template includes an advanced configuration addon which handles the configuration generation and synchronization for copyparty. Railway only allows a single volume and therefore the configuration volume cannot be added.

This addon script generates a configuration from a template to the persistent volume, and then synchronizes it to the configuration folder upon boot allowing you to edit the configuration file yourself and restart to apply changes. The addon script also handles service-variable configuration for accounts and permissions.

Template Configurations

These are custom-configurations specifically crafted for this template via the addon script

VariableDefaultDescription
CONFIG_ADDON_SCRIPTAddon ScriptContains the configuration addon script, remove to disable addon
PERMS_VIA_VARStrueEnable account/permission management via service variables
CONFIG_TEMPLATE_RAW_URLGitHub templateRaw text URL for initial config template download
ACCOUNTSNot setUser accounts: username: password, user2: pass2
EVERYONE_PERMSNot setAnonymous user permissions (e.g., r for read-only, empty for login required)
DEFAULT_ACCOUNT_PERMSNot setDefault permissions for all added accounts (e.g., rwmda)
SPEC_ACCOUNT_PERMSNot setSpecific user overrides: rwmda: admin, r: guest

Permission Codes: r=read, w=write, m=move, d=delete, a=admin

Copyparty Configurations

You can find copyparty configurations here: https://github.com/9001/copyparty

Why Deploy Copyparty on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Copyparty on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

Copyparty

copyparty/ac

More templates in this category

View Template
ReadySet
A lightweight caching engine for Postgres

View Template
Simple S3
Deploy a S3-compatible storage service with a pre-named bucket.

View Template
Flare
A modern, lightning-fast file sharing platform built for self-hosting