Skip to content

Commit

Permalink
secure passwords
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Zagarin committed Dec 1, 2015
1 parent 425642d commit 4e4c524
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ case "$1" in
mkdir -p "$SERVICE_ROOT" || dokku_log_fail "Unable to create service directory"
password=$(openssl rand -hex 16)
echo "$password" > "$SERVICE_ROOT/PASSWORD"
chmod 640 "$SERVICE_ROOT/PASSWORD"
touch "$LINKS_FILE"

dokku_log_info1 "Starting container"
Expand Down

0 comments on commit 4e4c524

Please sign in to comment.