Hi There,
Brand new homelab user, and trying to create what I "think" is a very basic setup to host gethomepage/homepage behind Traefik, both on docker. Here's my docker compose for Traefik from the quick start:
version: '3'
services:
reverse-proxy:
# The official v3 Traefik docker image
image: traefik:v3.3
# Enables the web UI and tells Traefik to listen to docker
command: --api.insecure=true --providers.docker
ports:
# The HTTP port
- "80:80"
# The Web UI (enabled by --api.insecure=true)
- "8080:8080"
volumes:
# So that Traefik can listen to the Docker events
- /var/run/docker.sock:/var/run/docker.sock
and here is homepage's compose:
services:
homepage:
image: ghcr.io/gethomepage/homepage:latest
container_name: homepage
ports:
- 3000:3000
env_file: stack.env
volumes:
- /data/homepage/config:/app/config # Make sure your local config directory exists
# - /var/run/docker.sock:/var/run/docker.sock # (optional) For docker integrations
environment:
HOMEPAGE_ALLOWED_HOSTS: home.mydomain.duckdns.org:3000 # required, may need port. See gethomepage.dev/installation/#homepage_allowed_hosts
labels:
- "traefik.http.routers.homepage.rule=Host(`home.mydomain.duckdns.org`)"
Now the only difference above is mydomain is replaced with my actual domain. DNS seems to be fine as if I put in home.mydomain.duckdns.org:3000 into my browser, the page loads. However home.mydomain.duckdns.org on its own fails with timeout.
The traefik UI dashboard loads fine, shows no errors, and says I have a working router and http service with no errors, and the host rule appears fine. Can anyone assist me?
Thanks,