BSD Ports

www/rubygem-thruster 0.1.26 FreeBSD

Zero-config HTTP/2 proxy for lightweight production deployments

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
52d5ba3beb
License
MIT
Categories
www, rubygems
Package size
6.2 KiB, 11.3 KiB installed

Description

Thruster is an HTTP/2 proxy for simple production-ready deployments of Rails applications. It runs alongside the Puma webserver to provide a few additional features that help your app run efficiently and safely on the open Internet:

  • HTTP/2 support
  • Automatic TLS certificate management with Let's Encrypt
  • Basic HTTP caching of public assets
  • X-Sendfile support and compression, to efficiently serve static files

Thruster aims to be as zero-config as possible. It has no configuration file, and most features are automatically enabled with sensible defaults. The goal is that simply running your Puma server with Thruster should be enough to get a production-ready setup.

The only exception to this is TLS provisioning: in order for Thruster to provision TLS certificates, it needs to know which domain those certificates should be for. So to use TLS, you need to set the TLS_DOMAIN environment variable. If you don't set this variable, Thruster will run in HTTP-only mode.

Thruster also wraps the Puma process so that you can use it without managing multiple processes yourself. This is particularly useful when running in a containerized environment, where you typically won't have a process manager available to coordinate the processes. Instead you can use Thruster as your CMD, and it will manage Puma for you.

Thruster was originally created for the ONCE project, where we wanted a no-fuss way to serve a Rails application from a single container, directly on the open Internet. We've since found it useful for simple deployments of other Rails applications.

In the other systems

SystemPortVersion
FreeBSDwww/rubygem-thruster0.1.26
DragonFlywww/rubygem-thruster0.1.12

Install

Binary package:

pkg install rubygem-thruster

From the ports tree:

cd /usr/ports/www/rubygem-thruster/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-thruster>0:www/rubygem-thruster

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.260.1.26-0.1.140.1.26
FreeBSD:14:quarterly0.1.260.1.26n/a0.1.140.1.26
FreeBSD:15:latest0.1.260.1.26n/a0.1.140.1.14
FreeBSD:15:quarterly0.1.260.1.26n/an/an/a
FreeBSD:16:latest0.1.260.1.26n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/thruster-0.1.26.gem76806e45e807086b29d51404841bd1ad493b67cd95892fd65dc5afcdd32e82e94ce8
Master sites 1
  • RG

Commit history 3

DateCommitCreditsLog message
52d5ba3beb Po-Chuan Hsieh www/rubygem-thruster: Update to 0.1.26
Changes: https://github.com/basecamp/thruster/blob/main/CHANGELOG.md
bedb7ca252 Po-Chuan Hsieh www/rubygem-thruster: Update to 0.1.25
Changes: https://github.com/basecamp/thruster/blob/main/CHANGELOG.md
8a6bc5f49e Po-Chuan Hsieh www/rubygem-thruster: Update to 0.1.22
Changes: https://github.com/basecamp/thruster/blob/main/CHANGELOG.md