Public Repository

Last pushed: a year ago
Short Description
Adds a user to an htpasswd file using a container
Full Description

dockercloud-htpasswd

Adds a user to an htpasswd file using a container

Usage

docker run -v $(pwd)/auth:/auth -e USERNAME="username" -e PASSWORD="password" kokaubeam/dockercloud-htpasswd

With options:

docker run -v $(pwd)/auth:/auth -e USERNAME="username" -e PASSWORD="password" -e OPTIONS="B" kokaubeam/dockercloud-htpasswd

Usage in Docker Cloud

Recommend using this image in Docker Cloud as follows:

htpasswd:
  image: kokaubeam/dockercloud-htpasswd
  deployment_strategy: every_node
  autodestroy: always
  environment:
    - "PASSWORDFILE=/auth/htpasswd"
    - "OPTIONS=B"
    - "USERNAME="
    - "PASSWORD="
  volumes:
    - /auth:/auth:rw
Docker Pull Command
Owner
kokaubeam

Comments (0)