title: Traefik without domain name
body: <p>Feww!!</p>
  
  <p>I am new to Traefik and the documentions aren't helping in trying out a very basic test.</p>
  
  <p>I am trying to run traefik basic example given on their home page <a href="https://github.com/containous/traefik/tree/master/examples/quickstart/" rel="nofollow noreferrer">link</a>)  on a remote server, whom I access with an IP address and don't have a domain name as such. But all the doumentations and tutorial examples just looks to me the same - no discussion around what if a person don't have a domain name. (Neither can create as such as the server is behind a VPN.)</p>
  
  <p>Question:- </p>
  
  <p>How should I be configuring the traefik.frontend.rule when I don't have a domain name. If my IP address is say xx.xx.xxx.xxx.</p>
  
  <p>compose.yml</p>
  
  <pre><code>version: "3"
  
  services:
    traefik:
      image: traefik:alpine
      ports:
        - 80:80
      volumes:
        - ${traefikConfigDirectory}:/etc/traefik
        - /var/run/docker.sock:/var/run/docker.sock
      # network_mode: host
    whoami:
      image: emilevauge/whoami
      labels:
        - traefik.enable=true
        - traefik.frontend.rule=PathPrefixStrip:/testpath
      # network_mode: host
  </code></pre>
  
  <p>config.toml</p>
  
  <pre><code>defaultEntryPoints = ["http"]
  
  [entryPoints]
    [entryPoints.http]
    address = ":80"
  
  [docker]
  endpoint = "unix:///var/run/docker.sock"
  exposedByDefault = false
  usebindportip=false
  </code></pre>
  
  <blockquote>
    <p>[Update]</p>
  </blockquote>
  
  <p>However, as suggested by @marvin, I adding traefik.port=80 label to whoami and also I had put <code>network_mode: host</code>, I was able to run. But how to make it run without putting network_mode to host?</p>