diff --git a/.dockerignore b/.dockerignore index 94810d0..8ce32f0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,4 +2,5 @@ !target/*-runner !target/*-runner.jar !target/lib/* -!target/quarkus-app/* \ No newline at end of file +!target/quarkus-app/* +config.json \ No newline at end of file diff --git a/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java b/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java index d48c771..a20ae51 100644 --- a/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java +++ b/src/main/java/de/rpr/ddnsclient/lookup/DnsJava.java @@ -13,7 +13,7 @@ public class DnsJava implements DnsResolver { private final String resolverAddress; - public DnsJava(@ConfigProperty(name = "", defaultValue = "9.9.9.9") String resolverAddress) { + public DnsJava(@ConfigProperty(name = "ddnsclient.dns.resolver", defaultValue = "9.9.9.9") String resolverAddress) { this.resolverAddress = resolverAddress; } diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 15f6b8a..b6dd53c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,4 +1,3 @@ -quarkus.naming.enable-jndi=true quarkus.log.level=INFO quarkus.log.category."de.rpr.ddnsclient".min-level=TRACE quarkus.log.category."de.rpr.ddnsclient".level=INFO