mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 13:00:31 +01:00
Feature Request: “High Availability” with Autocert #21
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 @polds on GitHub (Jan 9, 2025).
Hi, it’d be nice to be able to scale out GoDoxy to a few nodes to provide a more highly available solution. It should already work (haven’t tested) if you bring your own certs, but it’d be nice to have support with autocert. I imagine to do so, some basic locking, or leader election would need to be implemented (or just add a Redis node to the compose file) so only one instance attempts to register certs at a given time. It would require a clustered file system unless they could share the certs with each other which would need service discovery 😅 though I guess if you have the docker hosts enabled, there’s already some amount of service discovery happening.
Anyways, I over complicated the problem, but it would be nice to be able to run multiple with Autocert.
@yusing commented on GitHub (Jan 9, 2025):
Could you elaborate more about it? Multiple machines running same services?
@polds commented on GitHub (Jan 10, 2025):
No, sorry I'm meaning the ability to horizontally scale GoDoxy to multiple instances.
But with Let's Encrypt all the instances attempt to renew the certificate which causes issues.