Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portainer wrong host #837

Open
manuelcanepa opened this issue Jan 20, 2025 · 0 comments
Open

Portainer wrong host #837

manuelcanepa opened this issue Jan 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@manuelcanepa
Copy link

Version of Warden

in-dev

Operating System and Installation Method

Linux via git clone

Describe the Bug

When you start portainer, the hostname on traefik shows Host(`portainer.den.test`)||Host(`portainer.warden.test`). The docker compose file is wrong:
https://github.com/wardenenv/warden/blob/main/docker/docker-compose.portainer.yml#L11

-    - traefik.http.routers.portainer.rule=Host(`portainer.${WARDEN_SERVICE_DOMAIN:-den.test}`)||Host(`portainer.warden.test`)
+    - traefik.http.routers.portainer.rule=Host(`portainer.${WARDEN_SERVICE_DOMAIN:-warden.test}`)||Host(`portainer.warden.test`)

To Reproduce

  1. Go to 'traefik'
  2. Click on 'http routers'
  3. Scroll down to 'portainer rule'
  4. See error

Image

Expected Behavior

The expected behavior is to have the same hostname twice if the WARDEN_SERVICE_DOMAIN constant is not configured differently.

Additional context

No response

@manuelcanepa manuelcanepa added the bug Something isn't working label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant