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

Support for more DNS-01 autocert providers when using public containers #64

Open
stancubed opened this issue Feb 13, 2025 · 6 comments
Open

Comments

@stancubed
Copy link

For those of us who are attempting to get this set up using a public registry like Docker Hub or someplace, we don't have to option of editing autocert.go and rebuilding the app to get something like Porkbun to work. The instructions provided don't address that.

Is there a way to get alternate DNS-01 providers to work without rebuilding the app and creating a new container or is there a more generic way to implement this?

@yusing
Copy link
Owner

yusing commented Feb 13, 2025

You can do git clone, move your current config into it, modify compose.yml into this:

services:
  app:
    ...
    build: .

No worries, now I'll make it for you. I will figure out a way to make this easier.

@stancubed
Copy link
Author

Right I use Portainer, so it's more difficult because it's much more difficult to git clone a repo and build the service and container locally. I think if there was a way to configure the provider in a config file, that would provide people with a lot more options.

@yusing
Copy link
Owner

yusing commented Feb 13, 2025

Actually I can just add all the available options on lego, but I do not have access to those platforms.

When anything wrong happened, the responsibility comes to me and I have no way to fix it. That's why I left the testing side to users.

@yusing
Copy link
Owner

yusing commented Feb 13, 2025

Done, https://github.com/yusing/go-proxy/releases/tag/0.9.6

Let me know it works

@stancubed
Copy link
Author

You're fantastic I'm going to test this weekend and let you know!

@yusing
Copy link
Owner

yusing commented Feb 23, 2025

Hi, have you tried it out yet? Does it work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants