Side Menu
You are here:
Added by Armin Aulinger over 1 year ago
Hi,
does anybody have a sample yml script to run openproject 12 with traefik as reverse proxy in a docker environment?
This would be helpful for me to get started with my project.
Replies (4)
Hi, we suggest running apache2 or nginx as a docker container for proxiing OpenProject in docker.
Could you please share traefik repository and version which you are using?
Hello, I'm also interested to plug-in a Traefik as a reverse proxy for an OpenProject applicationI tried to set Traefik's labels on both the proxy service and the web service of openproject 12 docker-compose definitions, but I'm only getting 499 errors in Traefik logs (tried ports 80, 8080, custom ... I don't get what I miss)Using Traefik v2.9, no https for basic use caseNevermind, I had a typo in my domain name ....
It's working perfectly fine to set the labels on the proxy container :)
traefik.yml
Traefik docker-compose.yml
Openproject v12 docker-compose.yml
Happy openprojecting :)
Edit: forgot the "traefik.http.routers.openproject.service" line yesterday, added it this morning.
I also found out sometimes Traefik (or just docker ?) seems lost in the networking when the "web" service from OpenProject crashes at the first initialization - this is acutally in such case where I get 499 responses in Traefik. Just restart the proxy service: docker-compose restart proxy , and it should work.