[GH-ISSUE #70] [QUESTION] How do I run Whoogle behind Traefik? #46

Closed
opened 2026-02-25 20:34:47 +03:00 by kerem · 4 comments
Owner

Originally created by @blabberfondue on GitHub (May 23, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/70

I am trying to get Whoogle behind the Traefik Reverse Proxy, but unable to do so. The certificate has already been issued successfully.

Here are the labels I've specified for Whoogle:

  - "traefik.enable=true"
  - "traefik.http.routers.search.tls=true"
  - "traefik.http.routers.search.rule=Host(`search.example.com`)"
  - "traefik.http.services.search.loadbalancer.server.port=5000"
  - "traefik.http.routers.search.service=search"
  - "traefik.http.routers.search.entrypoints=websecure"
  - "traefik.http.routers.search.tls.certresolver=myresolver"
  - "traefik.http.services.search.loadbalancer.server.scheme=https"
  - "traefik.http.middlewares.my-redirect.redirectscheme.scheme=https"
  - "traefik.http.middlewares.my-redirect.redirectscheme.permanent=true"
Originally created by @blabberfondue on GitHub (May 23, 2020). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/70 I am trying to get Whoogle behind the Traefik Reverse Proxy, but unable to do so. The certificate has already been issued successfully. Here are the labels I've specified for Whoogle: - "traefik.enable=true" - "traefik.http.routers.search.tls=true" - "traefik.http.routers.search.rule=Host(`search.example.com`)" - "traefik.http.services.search.loadbalancer.server.port=5000" - "traefik.http.routers.search.service=search" - "traefik.http.routers.search.entrypoints=websecure" - "traefik.http.routers.search.tls.certresolver=myresolver" - "traefik.http.services.search.loadbalancer.server.scheme=https" - "traefik.http.middlewares.my-redirect.redirectscheme.scheme=https" - "traefik.http.middlewares.my-redirect.redirectscheme.permanent=true"
kerem 2026-02-25 20:34:47 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@xaabi6 commented on GitHub (May 23, 2020):

Hey there, I'm using it with Traefik and it works flawlessly. I would recommend you leave it like this and see if it works, then it's like including things back and see when it fails:

  - "traefik.enable=true"
  - "traefik.http.routers.search.rule=Host(`search.example.com`)"
  - "traefik.http.routers.search.entrypoints=websecure"
  - "traefik.http.routers.search.tls.certresolver=myresolver"

BTW, could you post here your Whoogle and Traefik docker-compose.yml files so I can help you better?

<!-- gh-comment-id:633120525 --> @xaabi6 commented on GitHub (May 23, 2020): Hey there, I'm using it with Traefik and it works flawlessly. I would recommend you leave it like this and see if it works, then it's like including things back and see when it fails: - "traefik.enable=true" - "traefik.http.routers.search.rule=Host(`search.example.com`)" - "traefik.http.routers.search.entrypoints=websecure" - "traefik.http.routers.search.tls.certresolver=myresolver" BTW, could you post here your Whoogle and Traefik docker-compose.yml files so I can help you better?
Author
Owner

@blabberfondue commented on GitHub (May 24, 2020):

I actually did try that initially, but it didn't work. Then I added the additional labels to see if that would help, but it didn't either.

Sure, here are the sections for Traefik and Whoogle from my Compose file. Thank you! :)

https://pastebin.com/Kzpk0H7g

<!-- gh-comment-id:633170234 --> @blabberfondue commented on GitHub (May 24, 2020): I actually did try that initially, but it didn't work. Then I added the additional labels to see if that would help, but it didn't either. Sure, here are the sections for Traefik and Whoogle from my Compose file. Thank you! :) https://pastebin.com/Kzpk0H7g
Author
Owner

@xaabi6 commented on GitHub (May 24, 2020):

I think that I know the problem, you need Whoogle to be in the same network as Traefik. Please try this pastebin code and see if it works: https://pastebin.com/vZxia12V

I have just added network and this label to your docker-compose:

# Network to use
  - "traefik.docker.network=traefik_default"
<!-- gh-comment-id:633258433 --> @xaabi6 commented on GitHub (May 24, 2020): I think that I know the problem, you need Whoogle to be in the same network as Traefik. Please try this pastebin code and see if it works: https://pastebin.com/vZxia12V I have just added network and this label to your docker-compose: # Network to use - "traefik.docker.network=traefik_default"
Author
Owner

@blabberfondue commented on GitHub (May 25, 2020):

That worked, thank you! 👍 🥇

<!-- gh-comment-id:633337578 --> @blabberfondue commented on GitHub (May 25, 2020): That worked, thank you! 👍 🥇
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#46
No description provided.