From 42bdbcec399328f833181034ccdc2fc5862585c0 Mon Sep 17 00:00:00 2001 From: dushu Date: Thu, 25 Jan 2024 10:00:55 -0500 Subject: [PATCH] chore: update the doc and config file --- CONTRIBUTING.md | 13 +++++++++++-- config/glauth.cfg | 3 +++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a34db63..9660370 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,12 +21,21 @@ installed. Import the created ROCK image into Docker: $ sudo /snap/rockcraft/current/bin/skopeo --insecure-policy copy oci-archive:.rock docker-daemon:: ``` -Run a GLAuth container using Docker: +Run a GLAuth container using Docker with [a minimum working config file](config/glauth.cfg): ```shell -$ docker run --rm -p 127.0.0.1:3893:3893/tcp --name : +$ docker run -d \ + --rm \ + -p 127.0.0.1:3893:3893/tcp \ + --name \ + : ``` +> ⚠️ **NOTE** +> +> Please refer to the [GLAuth](https://github.com/glauth/glauth) for more +> details about the configuration file. + ## Deploying ### Prerequisites diff --git a/config/glauth.cfg b/config/glauth.cfg index fb2636d..4942bd2 100644 --- a/config/glauth.cfg +++ b/config/glauth.cfg @@ -4,6 +4,9 @@ structuredlog = true [ldap] enabled = true listen = "0.0.0.0:3893" + tls = false + tlsCertPath = "glauth.crt" + tlsKeyPath = "glauth.key" [ldaps] enabled = false