Update password instructions

This commit is contained in:
Brad Treloar 2025-02-03 00:29:54 +10:30
parent 02520cfb98
commit 7a2acb560a
2 changed files with 4 additions and 1 deletions

View file

@ -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 .

View file

@ -1,4 +1,4 @@
#!/bin/bash
# htpasswd from package apache2-utils
htpasswd -nb $1 $2 > auth.htpasswd
htpasswd -nb $1 $2 > nginx.htpasswd