Jose Diaz-Gonzalez bd7deae883 Add ability to remove a specific port mapping tuple
This allows users to specify port 80 after an application has had domain added. Normally, when we first add an extra domain, the following tuple is added:

    http:80:5000

A user might then want to remap port 80 to another port, such as port 8080:

    dokku proxy:ports-add APP http:80:8080

The application would then have the following proxy map:

    http:80:5000 http:80:8080

As nginx vhosts are resolved in FIFO order, the "correct" upstream of 8080 would basically be ignored. The workaround would be to remove the original port mapping, but the following:

    dokku proxy:ports-remove APP 80

Would remove *both* entries and then re-add the default of `http:80:5000`. Thus it was not possible to use the porcelain to correct the port mapping and a user would have to fall back to using the following hack to fix their mapping:

    dokku config:set APP DOKKU_PROXY_PORT_MAP='http:80:8080'

You can now use the previous syntax *as well as* the following to remove a port mapping:

    dokku proxy:ports-remove APP http:80:5000
2016-06-20 23:17:55 -04:00
2016-06-20 21:16:21 -04:00
2016-06-20 21:16:21 -04:00
2016-06-20 21:16:21 -04:00
2016-02-24 00:02:06 +01:00
2016-04-18 20:57:44 -07:00
2016-06-09 15:07:31 -04:00
2016-06-20 21:16:21 -04:00
2014-02-03 22:53:56 -08:00
2016-06-20 21:16:21 -04:00
2015-12-07 12:54:03 -05:00
2016-06-09 14:29:50 -04:00

Dokku Build Status Ubuntu Package IRC Network Slack Group Documentation

OpenCollective OpenCollective Gratipay

Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen.

Requirements

  • A fresh VM running Ubuntu 14.04 x64

Installing

To install the latest stable release, you can run the following commands as a user that has access to sudo:

wget https://raw.githubusercontent.com/dokku/dokku/v0.6.2/bootstrap.sh
sudo DOKKU_TAG=v0.6.2 bash bootstrap.sh

Upgrading

View the docs for upgrading from an older version of Dokku.

Documentation

Full documentation - including advanced installation docs - are available online at docs

Support

You can use Github Issues, check Troubleshooting in the documentation, or join us on freenode in #dokku

Contribution

After checking Github Issues, the Troubleshooting Guide or having a chat with us on freenode in #dokku, feel free to fork and create a Pull Request.

While we may not merge your PR as is, they serve to start conversations and improve the general dokku experience for all users.

Sponsors

See our list of past sponsors in the SPONSORS file.

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

License

MIT License © Jeff Lindsay

Description
A docker-powered PaaS that helps you build and manage the lifecycle of applications dokku.com
Readme MIT 37 MiB
Languages
Shell 56.9%
Go 37.5%
Makefile 2%
Python 1.4%
HTML 0.7%
Other 1.2%