397 B
397 B
Notes server
Build and run
# Set access credentials.
./passwd.sh username password
# Build/rebuild the image.
docker build --no-cache -t notes-server .
# Run the image, listening on port 8080.
docker run -p 42069:80 -t notes-server
Auth credentials setup
# Overwrite the htpasswd file with new user credentials.
htpasswd -nb username password > auth.htpasswd