From 24e337834f64db8932e4b8ab82ea6600e9645283 Mon Sep 17 00:00:00 2001 From: jtagcat Date: Sun, 13 Feb 2022 13:53:08 +0000 Subject: [PATCH] docs: add example with compose ft. flags (#51) Co-authored-by: Fernandez Ludovic --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index a58e267..d14209b 100644 --- a/README.md +++ b/README.md @@ -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 +```