Skip to content

A plugin for Dokku which secures an individual app with HTTP Basic authentication

License

Notifications You must be signed in to change notification settings

matt-oakes/dokku-secure-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dokku Secure App Plugin Build Status

This is a plugin for Dokku which secures an individual app with HTTP Basic authentication.

installation

# on 0.3.x
cd /var/lib/dokku/plugins
git clone https://github.com/matto1990/dokku-secure-apps.git secure-apps
dokku plugins-install

# on 0.4.x
dokku plugin:install https://github.com/matto1990/dokku-secure-apps.git secure-apps

commands

$ dokku help
    secure:disable <app>                            remove security for this app
    secure:enable <app>                             enable security for this app
    secure:delete <app>                             delete htpasswd file for this app
    secure:set <app> username password              add user to this app or update their password
    secure:unset <app> username                     remove user from this app
    secure:list <app>                               list users for this app

Unit Tests

This plugins test were inspired by the tests in https://github.com/neam/dokku-custom-domains. It uses assert.sh 1.0 - bash unit testing framework.

To run the tests:

make test

TODO

  • Globally secure all apps (with opt-out for specific apps)

About

A plugin for Dokku which secures an individual app with HTTP Basic authentication

Resources

License

Stars

Watchers

Forks

Packages

No packages published