Skip to content

Setup & Deployment

This section explains how to deploy TG-FileStream (TGFS).

TGFS is designed for self-hosted environments and can be deployed on different platforms depending on your needs.


🖥 VPS / Dedicated Server

The recommended and most flexible deployment method is using a Linux VPS.

This provides:

  • Full system control
  • systemd service management
  • Nginx reverse proxy support
  • Multi-worker scaling
  • Custom domain & HTTPS
  • Cloudflare integration

âž¡ Start here:
Deploy on VPS


Future Deployment Guides

Additional platform guides may be added in the future:

  • Docker-based deployment
  • Cloud platform deployment (e.g., Railway, Fly.io, etc.)
  • Container orchestration setups

Which Option Should You Choose?

If you are unsure, choose:

âž¡ VPS Deployment

It provides the most control and best compatibility with TGFS architecture.