Minisearch docker compose not working with Traefik #721
Unanswered
Hawk132000
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi! Thanks for your interest in MiniSeach! I'm not proficient with Traefik, but from what I see in your docker compose definition, could it be that it's missing the services:
minisearch:
image: ghcr.io/felladrin/minisearch:main
+ ports:
+ - "7860:7860"
labels:
# Enable Traefik for this service
- "traefik.enable=true"
# HTTP to HTTPS redirection
- "traefik.http.routers.minisearch-http.entrypoints=web"
- "traefik.http.routers.minisearch-http.rule=Host(`search.xyz.com`)"
# HTTPS configuration
- "traefik.http.routers.minisearch-https.entrypoints=websecure"
- "traefik.http.routers.minisearch-https.rule=Host(`search.xyz.com`)"
- "traefik.http.routers.minisearch-https.tls=true"
- "traefik.http.routers.minisearch-https.tls.certresolver=production"
# Service port configuration
- "traefik.http.services.minisearch.loadbalancer.server.port=7860"
restart: unless-stopped |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried using below docker compose, but no luck. Can someone suggest?
I am getting Bad gateway error.
Note: I've added traefik to same minisearch network, so that's not an issue.
Beta Was this translation helpful? Give feedback.
All reactions