]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
etc/config/config.examples.docker.yaml: keep management API config default
authorAleš Mrázek <ales.mrazek@nic.cz>
Thu, 14 Nov 2024 15:17:41 +0000 (16:17 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 15 Nov 2024 09:56:20 +0000 (10:56 +0100)
etc/config/config.example.docker.yaml

index 5c10d6662fa87cd1519a4e80f075720e557cd965..85f935ad1a03d64121dde5e7fb8b378ae9309184 100644 (file)
@@ -8,5 +8,12 @@ network:
       kind: dot
     - interface: lo@443
       kind: doh2
-management:
-  interface: 127.0.0.1@5000
+
+# By default, there is no need to expose the management API outside the container.
+# But if for some reason it is needed, use port 5000, which is intended for that.
+# You can access the API with 'kresctl' installed inside the container using 'docker exec'.
+# For example: $ docker exec -it CONTANER_ID kresctl reload
+# See more in documentation: https://www.knot-resolver.cz/documentation/latest/deployment-docker.html
+
+# management:
+#   interface: 127.0.0.1@5000