Add authfile

This commit is contained in:
Noah Williams 2021-03-13 12:35:36 -09:00
parent 29783d3dfc
commit ab3eec53d9

View file

@ -77,4 +77,12 @@ services:
- './users.json:/users.json'
# ⬇️ Give the container unrestricted access to the docker host's network
network_mode: host
```
```
The `authfile` (`users.json`) remains the same as in the non-containerized version - shown again with the username `foo` and password `bar`.
```json
{
"foo:bar": ["0.0.0.0:80"]
}
```