From 7a2acb560a0c80f87cdcdc22af21a42dcd6848f3 Mon Sep 17 00:00:00 2001 From: Brad Treloar Date: Mon, 3 Feb 2025 00:29:54 +1030 Subject: [PATCH] Update password instructions --- README.md | 3 +++ passwd.sh | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index efa8bd9..904fe04 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,9 @@ ## Build and run ```bash +# Set access credentials. +./passwd.sh username password + # Build/rebuild the image. docker build --no-cache -t notes-server . diff --git a/passwd.sh b/passwd.sh index fe37844..ae4fbd3 100755 --- a/passwd.sh +++ b/passwd.sh @@ -1,4 +1,4 @@ #!/bin/bash # htpasswd from package apache2-utils -htpasswd -nb $1 $2 > auth.htpasswd +htpasswd -nb $1 $2 > nginx.htpasswd