Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

krisrang/dokku-domains

Repository files navigation

Build Status

Dokku domains plugin

Deprecated: dokku >= 0.3.10 already has this functionality built in

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

About

[DEPRECATED] Dokku custom domains and SSL plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published