Skip to content

progrium/consul-access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consul-access

Lightweight password protection to Consul HTTP using Nginx.

Using consul-access

Simply link against a running Consul container using the alias consul and provide a username and password with the HTPASSWD environment variable:

$ docker pull progrium/consul-access
$ docker run -d \
	--link consul:consul \
	--env "HTPASSWD=<username> <password>" \
	--publish 80:80
	progrium/consul-access

If you're running Consul in --net=host mode, you can just set the IP manually with --add-host:

$ docker run -d \
	--add-host consul:<consul ip> \
	--env "HTPASSWD=<username> <password>" \
	--publish 80:80
	progrium/consul-access

Security

Since HTTP Basic authentication is used, you should only access this behind SSL otherwise your password is transmitted unencrypted.

License

BSD

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published