All Projects → rvanlaar → dokku-nginx-stream

rvanlaar / dokku-nginx-stream

Licence: other
dokku plugin to open TCP ports on the application for the outside world.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to dokku-nginx-stream

dokku-rabbitmq
a rabbitmq plugin for dokku
Stars: ✭ 41 (+241.67%)
Mutual labels:  dokku-plugin
dokku-graphite
a graphite, grafana, statsd, carbon plugin for dokku
Stars: ✭ 47 (+291.67%)
Mutual labels:  dokku-plugin
dokku-http-auth
dokku plugin that gives the ability to manage HTTP basic auth for an application
Stars: ✭ 71 (+491.67%)
Mutual labels:  dokku-plugin
dokku-nats
a nats plugin for dokku
Stars: ✭ 21 (+75%)
Mutual labels:  dokku-plugin
dokku-elasticsearch
an elasticsearch plugin for dokku
Stars: ✭ 82 (+583.33%)
Mutual labels:  dokku-plugin
dokku-rethinkdb
a rethinkdb plugin for dokku
Stars: ✭ 42 (+250%)
Mutual labels:  dokku-plugin
dokku-mysql
a mysql plugin for dokku
Stars: ✭ 85 (+608.33%)
Mutual labels:  dokku-plugin

Dokku NGINX Stream plugin (Alpha)

Note: A maintained version can be found here: https://github.com/josegonzalez/dokku-nginx-stream

Note: Alpha software. Pull Requests are welcome

Note: Only one tcp port per app is supported

Dokku NGINX Stream gives the ability to open up tcp ports to the outside world. This can be usefull when your application speaks more than http.

Note: Your app must use the proxy plugin.

Install and usage

# dokku 0.5+
$ sudo dokku plugin:install https://github.com/rvanlaar/dokku-nginx-stream.git

Usage

Nginx Stream leverages the proxy plugin for enabling tcp ports:

dokku proxy:ports-add myapp tcp:EXTERNAL_PORT:INTERNAL_PORT
dokku ps:rebuild

Note The Nginx-stream only configures the ports after a rebuild or deploy.

More information on proxy configuration can be found here: dokky port management

Technical

Nginx can loadbalance tcp and udp ports via: ngx_stream_core_modules

A nginx-stream.conf is generated from the proxy settings and included in the main nginx.conf via

stream {
    include /home/dokku/*/nginx-stream.conf;
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].