-
Notifications
You must be signed in to change notification settings - Fork 360
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
Traefik Help #914
Comments
My Bad, user error. |
Oooo, I am trying to go the other way and get BTCPay working with my existing Traefik on my VPS. Perhaps I should consider this method and letting BTCPay control the Traefik instead and ADD some more sites and rules. Would you kind enough to post your yml and config files (sanitised!) please? Honestly, I know Traefik and looking at the API dashboard it seems simple enough but can I get BTCPay to work with my existing Traefik? Nope. It even mentions in the BTCPay documentation about 'running your own proxy' but I just can't crack it! All the built-in Traefik is doing is routing from :443 to the docker container IP and port - e.g. http://172.18.0.10:49392 I just can't get it to work my OWN traefik! Can anyone help? Paully |
Howdy! ` btcpayserver: bitcoin_rtl: lilinkedlibrarian: Wordpreess: ... |
Thanks @littlelinkedlibrarian for your comments and config. This looks the same as mine. I reckon I should be able to get BTCPay Server working with MY traefik. I have the "bit between my teeth" now and I'll be damned if it's going to beat me. I'm really surprised that an internet search for "btcpay +traefik" does not come up with a winning solution. It's just doing some routing! I have asked a couple of Traefik gurus to see if they would be willing to help, and I'm even happy to spin up an AWS EC2 with Docker and let someone play to get this working. Honestly, I know I am so close. If I crack it, I shall add it to my Wiki and paste the link here. https://wiki.indie-it.com/wiki/Docker#BTCPay_Server Cheers for now. Paully |
I noticed you were using the load balancer in your Traefik dashboard; I imagine BTCpay requires TLS. Imagine you have these set? |
Yes, I did see that page and copied his config with http and none. That stopped nginx and correctly exposed port 49392 running in the 'btcpayserver-generated' docker container. I then started my traefik container and tested this was working with both the api dashboard and a simple nginx container. I then added this rules yaml file to declare a new router pointing to the 'btcpayserver-generated' docker container port 49392 ...
In fact, I tried it 2 ways - as an 'url' and as a 'service port' but nothing worked. I tested with curl on the server and from a web browser. I am obviously doing something wrong but cannot figure out what! I am so close, I know it. Paully |
Is it possible to use the tools provided by the scripts without customizing the Traefik configuration?
Where does the custom.yml go? I put it in Traefik/ dir and the Generated/ dir and I am not getting other hosts to register, the traefik dashboard is not much help.
Will the custom.yml allow me to point to libpatreon and the woocommerce WordPress hosts?
Traefik is working for the BTC pay server, but when I create policies for apps, like libpatreon I get 404.
Any details are appreciated.
I will venture down using Traefik documentation with commands and labels.
The text was updated successfully, but these errors were encountered: