Refactor backend and add registry build workflow
Build and publish Docker image / build-and-publish (push) Successful in 2m45s

This commit is contained in:
wfalkowski committed 2026-10-20 16:44:49 +00:00
commit c177d7981d
43 files changed
+18124

No files matched your search

+17
View File
@@ -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