Refactor backend and add registry build workflow
Build and publish Docker image / build-and-publish (push) Successful in 2m45s
Build and publish Docker image / build-and-publish (push) Successful in 2m45s
This commit is contained in:
commit
c177d7981d
43 files changed
+18124
No files matched your search
@@ -0,0 +1,17 @@
|
||||
"""Optional DNS provider integration initialized for the application process."""
|
||||
|
||||
import os
|
||||
|
||||
from domain_manager import DomainManager
|
||||
from runtime_config import logger
|
||||
|
||||
if not os.environ.get("DESEC_API_TOKEN"):
|
||||
logger.warning("DNS management is disabled because DESEC_API_TOKEN is not configured")
|
||||
domain_manager = None
|
||||
else:
|
||||
try:
|
||||
domain_manager = DomainManager()
|
||||
logger.info("Domain manager initialized")
|
||||
except Exception as exc:
|
||||
logger.exception("Domain manager initialization failed: %s", exc)
|
||||
domain_manager = None
|
||||
Reference in new issue
Block a user