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
| System | Port | Version |
|---|---|---|
| FreeBSD | www/rubygem-thruster | 0.1.26 |
| DragonFly | www/rubygem-thruster | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.1.26 | 0.1.26 | - | 0.1.14 | 0.1.26 |
| FreeBSD:14:quarterly | 0.1.26 | 0.1.26 | n/a | 0.1.14 | 0.1.26 |
| FreeBSD:15:latest | 0.1.26 | 0.1.26 | n/a | 0.1.14 | 0.1.14 |
| FreeBSD:15:quarterly | 0.1.26 | 0.1.26 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.1.26 | 0.1.26 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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
Required by 11
- devel/rubygem-r18n-rails
- www/redmine70
- www/rubygem-bullet_train
- www/rubygem-bullet_train-fields
- www/rubygem-bullet_train-has_uuid
- www/rubygem-bullet_train-scope_validator
- www/rubygem-bullet_train-super_load_and_authorize_resource
- www/rubygem-bullet_train-themes
- www/rubygem-rails80
- www/rubygem-rails81
- www/rubygem-showcase-rails
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/thruster-0.1.26.gem | 7680 | 6e45e807086b29d51404841bd1ad493b67cd95892fd65dc5afcdd32e82e94ce8 |
Master sites 1
- RG