Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docker] No IP in backend in host networking mode #487

Closed
Kernald opened this issue Jun 28, 2016 · 0 comments
Closed

[Docker] No IP in backend in host networking mode #487

Kernald opened this issue Jun 28, 2016 · 0 comments
Labels

Comments

@Kernald
Copy link

Kernald commented Jun 28, 2016

I have a Docker machine set up to use the host network mode. Here's the docker-compose entry:

hass:
  image: 'homeassistant/home-assistant'
  restart: always
  net: 'host'
  volumes:
    - '/etc/localtime:/etc/localtime:ro'
    - '/srv/hass/config:/config'
  labels:
    - "traefik.backend=hass"
    - "traefik.frontend.rule=Host:home.redacted.net"
    - "traefik.port=8123"

When traefik picks it, the backend's URL is set to http://:8123, the IP is missing. Is there any other solution than skipping this docker machine (traefik.enable=false) and adding it from somewhere else? A missing label I could hint traefik with?

This was referenced Jul 5, 2016
@emilevauge emilevauge added the bug label Jul 5, 2016
@ldez ldez added the kind/bug/confirmed a confirmed bug (reproducible). label Apr 29, 2017
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants