-
DescriptionHi there, i've been (unsuccessfully) trying to get homepage behind my traefik reverse proxy. Now i want to integrate my homepage behind traefik, because i want want ssl and a nice url without ports. Having spent the better part of the last two days trying to figure this out i'm ready to abandon homepage and look for other dashboards with some kind of example oder documentation on how to achieve that. But before i do that, my last attempt to get this working is, asking for help here... does anyone have a similar setup with NO kubernetes and is willing to share the basic traefik labels to get this working.. Best, holzauto homepage versionv0.8.10 Installation methodDocker Configurationservices:
homepage:
image: ghcr.io/gethomepage/homepage:v0.8.10
container_name: homepage
ports:
- 3000:3000
volumes:
- ./config:/app/config
- ./images:/app/public/images
- ./icons:/app/public/icons
depends_on:
- traefik
environment:
- PUID: 1000
- PGID: 1000
- TZ: Europe/Berlin
restart: unless-stopped
networks:
- proxy
networks:
proxy:
external: true Container LogsNo response Browser LogsNo response Troubleshootingunfortunately, i don't see anything, not in the logs or elsewhere.. it just doesn't work. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course! Thanks for using Homepage! ❤️ Hello holzauto, To integrate Homepage with Traefik and enable SSL with a nice URL without ports, you need to add Traefik labels to your Homepage service in your Docker Compose file. These labels will tell Traefik how to route traffic to your Homepage container and how to obtain an SSL certificate for it. Here's a basic example of how you can set up your services:
homepage:
image: ghcr.io/gethomepage/homepage:v0.8.10
container_name: homepage
volumes:
- ./config:/app/config
- ./images:/app/public/images
- ./icons:/app/public/icons
environment:
- PUID: 1000
- PGID: 1000
- TZ: Europe/Berlin
restart: unless-stopped
networks:
- proxy
labels:
- "traefik.enable=true"
- "traefik.http.routers.homepage.rule=Host(`your-domain.com`)"
- "traefik.http.routers.homepage.entrypoints=websecure"
- "traefik.http.routers.homepage.tls.certresolver=myresolver"
- "traefik.http.services.homepage.loadbalancer.server.port=3000"
networks:
proxy:
external: true Make sure to replace Please note that the After updating your docker-compose up -d This should configure Traefik to route traffic to your Homepage container and enable SSL for it. If you have any issues, please check the Traefik logs for any errors related to the routing or SSL certificate generation. If you need further assistance, please provide any error messages or logs that you see, and I'll be happy to help you troubleshoot the issue. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
Thanks to the bot answer i had re-think and this is what i came up with, and it works, my homepage is behind the revers proxy, including redirecting traffic to ssl:
Best, holzauto |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically closed because it was marked as answered. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
Thanks for posting a discussion about homepage here on GitHub. Homepage now uses a fancy new AI tool thanks to our friends at Glime, so the answer below is the AI bot's attempt to answer your question. If you feel it's sufficient you can mark the answer and close this post, otherwise feel free to leave it open of course!
Thanks for using Homepage! ❤️
Hello holzauto,
To integrate Homepage with Traefik and enable SSL with a nice URL without ports, you need to add Traefik labels to your Homepage service in your Docker Compose file. These labels will tell Traefik how to route traffic to your Homepage container and how to obtain an SSL certificate for it.
Here's a basic example of how you can…