/dokku-domains

Dokku custom domains and SSL plugin

Primary LanguageRuby

Build Status

Dokku domains plugin

Dokku plugin to set custom domains for dokku apps.

Installation

  • Requires Ruby >= 1.9.3 present on the host
git clone https://github.com/krisrang/dokku-domains.git /var/lib/dokku/plugins/domains

Commands

$ dokku help
    domains <app>                                   display the domains for an app
    domains:set <app> DOMAIN1 [DOMAIN2 ...]         set one or more domains

Sample usage

Add extra domains for superapp:

$ dokku domains:set superapp www.superapp.com ssl.superapp.com
-----> Setting superapp domains to: www.superapp.com ssl.superapp.com

Now superapp will respond to superapp.HOST, www.superapp.com and ssl.superapp.com

TODO

  • Add tests
  • Add domains:add and domains:remove commands

License

MIT