mirror of
https://github.com/jpillora/chisel
synced 2024-10-18 07:52:18 +00:00
Add authfile
This commit is contained in:
parent
29783d3dfc
commit
ab3eec53d9
|
@ -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"]
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue