Open and close your dokku app's ports.
Shell Makefile
Latest commit c37f248 Sep 3, 2016 @josegonzalez josegonzalez Remove gitignore file
Permalink
Failed to load latest commit information.
subcommands
.editorconfig
.travis.yml
LICENSE.txt
Makefile
README.md
commands
config
functions
install
plugin.toml
post-deploy
pre-delete

README.md

dokku-ports Build Status

Open and close your dokku app's ports.

Sometimes you just can't use the usual virtual host-based configuration of dokku, thus needing another way to access the ports used by your applications. This plugin assumes two things:

  • You are using UFW to manage your firewall.
  • You have already set up UFW on your server.

requirements

  • dokku 0.4.0+
  • docker 1.8.x

installation

# on 0.4.x
dokku plugin:install https://github.com/josegonzalez/dokku-ports.git ports

hooks

This plugin provides hooks:

  • post-deploy: open ports for app
  • pre-delete: close ports for app

usage

# Show all ports belonging to app
dokku ports:list <app>

# Close all ports belonging to app
dokku ports:close <app>

# Open all ports belonging to app
dokku ports:open <app>