mirror of
https://github.com/plankanban/planka.git
synced 2026-02-25 03:14:50 +03:00
Issue with Docker Compose and Traefik #123
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @h2seo on GitHub (Aug 10, 2021).
I wanted to try Planka on docker compose with Traefik but it doesn't seem to work. only error "Bad Gateway"
docker-compose.yml
@johnchristopher commented on GitHub (Aug 16, 2021):
It's a Traefik misconfiguration, the port you tell Traefik to send traffic to is wrong.
Try this:
And you can remove this part unless you want to be able to access planka directly from opened port 3000 on your server:
If you still get
bad gatewayit means Traefik can't find a port on the container, so expose it (to Traefik and end points on your docker web network) but normally planka exposes this port by default:Make sure the traefik container can talk with the docker web network:
edit: here's a working docker-compose I wrote from the one you supplied. I am using Traefik2 with self-signed certificates on localhost but planka service don't need to change:
Then: