# Subatic

Subatic is a self-hosted video hosting and sharing platform.

Canonical page: https://ourlocalhost.com/app/8151/subatic

## Description

Subatic is a self-hosted video hosting and sharing platform. It lets you upload, transcode, and stream videos from your own infrastructure, scaling with your content library. It is aimed at homelabbers and teams who want a simple private alternative to YouTube-style hosting, using Docker Compose with MinIO (S3-compatible storage), PostgreSQL, and a built-in transcoder.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

70/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 44 (163 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 85 (no serious findings, CI)

## Links

- Official website: https://subatic.com
- GitHub: https://github.com/orthdron/subatic

## Common questions

### How do I deploy Subatic with Docker Compose?

Copy the provided .env.example to .env in the same directory as your docker-compose.yml, fill in the required environment variables, and run docker-compose up -d. The compose file bundles Subatic, the Subatic Transcoder, MinIO, and PostgreSQL, with health checks and service dependencies included.

### Can I use something other than MinIO for storage, like Cloudflare R2?

Yes, Subatic works with any AWS S3-compatible bucket, including Cloudflare R2. If you use R2, you should set a CORS policy allowing GET and HEAD with a range header, and optionally enable Cloudflare caching on your public bucket domain.

### Why are there two S3 buckets in the setup?

One bucket is the primary raw upload location (RAWFILES_S3 settings), and a second bucket stores the final transcoded videos served publicly via PROCESSED_VIDEO_URL. You can use the same bucket for both if you prefer.

### How do I set up transcoding?

Transcoding is handled by the separate Subatic Transcoder service, which is included in the docker-compose deployment. Detailed instructions for setting up the transcoding pipeline are in the transcoding repository.

### How do I control the maximum upload size?

Set the MAX_FILE_SIZE environment variable in your .env file; the value is specified in megabytes.

## Alternatives

- MediaCMS: MediaCMS is an open source, self-hosted video and media content management system for building your own media-sharing or video portal.
- Owncast: Owncast is a self-hosted, open-source live video and web chat server that lets homelabbers broadcast using existing streaming software whil…
- SRS: SRS (Simple Realtime Server) is a lightweight, open-source realtime media server for self-hosting live video.
- streama

---
Source: Our Local Host (https://ourlocalhost.com/app/8151/subatic), the self-hosted and open-source app directory.
