#Been a few days and I can t figure

1 messages ยท Page 1 of 1 (latest)

coral cliff
#

Depends, is HA also in Docker, or is it remote?

radiant ibex
#

Docker

coral cliff
#

then there's nothing special about HA for this

radiant ibex
#

Right, I must be missing something then as I really don't understand how to get it to work

coral cliff
#
    labels:
      - "traefik.enable=true"
      ## HTTP Routers
      - "traefik.http.routers.homeassistant.rule=Host(`yourdomain.example.net`)"
      - "traefik.http.routers.homeassistant.entrypoints=websecure"
      - "traefik.http.routers.homeassistant.tls=true"
      - "traefik.http.routers.homeassistant.tls.certresolver=zerossl"
      - "traefik.http.services.homeassistant.loadBalancer.server.port=8123"
``` for instance
radiant ibex
#

Does that go into the docker-compose.yml?

coral cliff
#

Yes

radiant ibex
#

Right, ok

#

I thought there was some config file to update

coral cliff
#

Well, you'll do that for the certresolver

radiant ibex
#

Doesn't seem to work really under networks

coral cliff
#

No, that's just applied for the compose entry

radiant ibex
#

right, I tried that however it says ERROR: The Compose file './docker-compose.yml' is invalid because:
Invalid top-level property "labels". Valid top-level sections for this Compose file are: version, services, networks, volumes, and extensions starting with "x-".

coral cliff
radiant ibex
#

ah my bad

#

I have a pea brain when it comes to looking at docs ๐Ÿ˜‚

radiant ibex
#

So I have added it onto the docker-compose.yml file and it seems to be fine. What else do I need to do to get it to work? I also noticed in the Traefic web ui it shows Home-Assistant and homeassistant, would they need to match?

coral cliff
#

Well, anybody accessing vodahomerouter.ddns.net should be routed to the homeassistant service, based off of that image

#

You also have added something else for the host Home-Assistant for some reason

radiant ibex
#

I believe it picked up the docker images I have

radiant ibex
#

I assume

#

Or I could probably just rename it

#

I think I broke it haha

#

Neither show up now

coral cliff
#

It's hard to help if you don't share your config

#

Also...

bold coralBOT
#

@radiant ibex When using Discord's Reply feature it defaults to pinging the person you reply to, which can get frustrating for the target. Use Shift + click on the Reply option, or click @ ON to @ OFF to stop this - on the right side of the compose bar.

You have to change this every time (thank the Discord devs for that).

radiant ibex
#

Sorry about the pings, I forgot about that

coral cliff
#

Well, you have config... that's how your setting this all up

radiant ibex
#

So far I have put it all in the docker-compose haha

coral cliff
#

That may be files, it may be labels, but ... no config no Traefik

radiant ibex
#

Oh right, ok. I'll have to do some digging then ๐Ÿ˜‚

coral cliff
radiant ibex