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

Closed
opened 2025-12-29 14:22:52 +01:00 by adam · 8 comments
Owner

Originally created by @stancubed on GitHub (Feb 13, 2025).

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?

Originally created by @stancubed on GitHub (Feb 13, 2025). 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](https://github.com/yusing/go-proxy/wiki/Supported-DNS%E2%80%9001-Providers#supported-dns-01-providers) 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?
adam closed this issue 2025-12-29 14:22:52 +01:00
Author
Owner

@yusing commented on GitHub (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.

@yusing commented on GitHub (Feb 13, 2025): You can do git clone, move your current config into it, modify compose.yml into this: ```yaml services: app: ... build: . ``` No worries, now I'll make it for you. I will figure out a way to make this easier.
Author
Owner

@stancubed commented on GitHub (Feb 13, 2025):

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.

@stancubed commented on GitHub (Feb 13, 2025): 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.
Author
Owner

@yusing commented on GitHub (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 commented on GitHub (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.
Author
Owner

@yusing commented on GitHub (Feb 13, 2025):

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

Let me know it works

@yusing commented on GitHub (Feb 13, 2025): Done, https://github.com/yusing/go-proxy/releases/tag/0.9.6 Let me know it works
Author
Owner

@stancubed commented on GitHub (Feb 13, 2025):

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

@stancubed commented on GitHub (Feb 13, 2025): You're fantastic I'm going to test this weekend and let you know!
Author
Owner

@yusing commented on GitHub (Feb 23, 2025):

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

@yusing commented on GitHub (Feb 23, 2025): Hi, have you tried it out yet? Does it work for you?
Author
Owner

@stancubed commented on GitHub (Mar 17, 2025):

Sorry, I'd forgotten to check in! I can confirm that this works! This is amazing -- thank you for helping to add Porkbun as a provider so that I didn't need to build locally.

@stancubed commented on GitHub (Mar 17, 2025): Sorry, I'd forgotten to check in! I can confirm that this works! This is amazing -- thank you for helping to add Porkbun as a provider so that I didn't need to build locally.
Author
Owner

@yusing commented on GitHub (Mar 17, 2025):

Nice, thanks for replying back.

@yusing commented on GitHub (Mar 17, 2025): Nice, thanks for replying back.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/godoxy-yusing#37