summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAleš Mrázek <ales.mrazek@nic.cz>2024-11-14 16:17:41 +0100
committerAleš Mrázek <ales.mrazek@nic.cz>2024-11-15 10:56:20 +0100
commitac0785a2fcc1c1e16c0bb07fc746842e6a3f84ed (patch)
treebd4ab7e3927a09688e74089d33495bb91955bfb6 /etc
parent.gitlab-ci.yml: added docker image test (diff)
downloadknot-resolver-ac0785a2fcc1c1e16c0bb07fc746842e6a3f84ed.tar.xz
knot-resolver-ac0785a2fcc1c1e16c0bb07fc746842e6a3f84ed.zip
etc/config/config.examples.docker.yaml: keep management API config default
Diffstat (limited to 'etc')
-rw-r--r--etc/config/config.example.docker.yaml11
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/config/config.example.docker.yaml b/etc/config/config.example.docker.yaml
index 5c10d666..85f935ad 100644
--- a/etc/config/config.example.docker.yaml
+++ b/etc/config/config.example.docker.yaml
@@ -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