aports/testing/docker-auth/simple-example.patch
Conrad Hoffmann 4c4c6d84a6 testing/docker-auth: upgrade to 1.13.0
- Provide a more appropriate example config file
- Add -doc subpackage w/ README and more example configs
2025-02-07 22:10:06 +00:00

23 lines
683 B
Diff

diff --git a/examples/simple.yml b/examples/simple.yml
index 6eff2b3..ae3507c 100644
--- a/examples/simple.yml
+++ b/examples/simple.yml
@@ -1,4 +1,8 @@
-# A simple example. See reference.yml for explanation of all options.
+# A simple example. See /usr/share/doc/docker-auth/examples/reference.yml in
+# the -doc sub-package for an explanation of all options.
+#
+# To configure Docker Registry to talk to this server, put the following in the
+# registry config file:
#
# auth:
# token:
@@ -8,7 +12,7 @@
# rootcertbundle: "/path/to/server.pem"
server:
- addr: ":5001"
+ addr: "127.0.0.1:5001"
certificate: "/path/to/server.pem"
key: "/path/to/server.key"