docs: add example with compose ft. flags (#51)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
This commit is contained in:
12
README.md
12
README.md
@ -68,3 +68,15 @@ $ curl -v http://localhost:80/health
|
|||||||
```console
|
```console
|
||||||
docker run -d -P -v ./certs:/certs --name iamfoo traefik/whoami --cert /certs/cert.cer --key /certs/key.key
|
docker run -d -P -v ./certs:/certs --name iamfoo traefik/whoami --cert /certs/cert.cer --key /certs/key.key
|
||||||
```
|
```
|
||||||
|
|
||||||
|
```yml
|
||||||
|
version: '3.9'
|
||||||
|
|
||||||
|
services:
|
||||||
|
whoami:
|
||||||
|
image: traefik/whoami
|
||||||
|
container_name: iamfoo
|
||||||
|
command:
|
||||||
|
# It tells whoami to start listening on 2001 instead of 80
|
||||||
|
- --port 2001
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user