Add server
This commit is contained in:
parent
70cc56452f
commit
3ef9d3459d
5 changed files with 42 additions and 1 deletions
18
README.md
18
README.md
|
|
@ -1,2 +1,18 @@
|
|||
# My notes
|
||||
# Notes server
|
||||
|
||||
## Build and run
|
||||
|
||||
```bash
|
||||
# Build/rebuild the image.
|
||||
docker build --no-cache -t notes-server .
|
||||
|
||||
# Run the image, listening on port 8080.
|
||||
docker run -p 8080:80 -t notes-server
|
||||
```
|
||||
|
||||
## Auth credentials setup
|
||||
|
||||
```bash
|
||||
# Overwrite the htpasswd file with new user credentials.
|
||||
htpasswd -nb username password > auth.htpasswd
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue