Skip to content

Commit

Permalink
docs: add example with compose ft. flags (#51)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernandez Ludovic <[email protected]>
  • Loading branch information
jtagcat and ldez authored Feb 13, 2022
1 parent c36625c commit 24e3378
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,15 @@ $ curl -v http://localhost:80/health
```console
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
```

0 comments on commit 24e3378

Please sign in to comment.