Browse Source

changed example for whoami

Toastie 7 months ago
parent
commit
de415ee88f
1 changed files with 3 additions and 3 deletions
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -24,10 +24,10 @@ Important: Make sure the container is connected to the reverse-proxy_default net
 
 ##### docker run 
 ```
+fqdn="whoami.example.com"
 docker run --rm --name whoami \
-           --env VIRTUAL_HOST=whoami.example.com \
-           --env LETSENCRYPT_HOST=whoami.example.com \
-           --env LETSENCRYPT_EMAIL=webmaster@example.com \
+           --env VIRTUAL_HOST=$fqdn \
+           --env LETSENCRYPT_HOST=$fqdn \
            --network reverse-proxy_default \
            jwilder/whoami