Skip to content

Commit

Permalink
chore: update the doc and config file
Browse files Browse the repository at this point in the history
  • Loading branch information
wood-push-melon committed Jan 25, 2024
1 parent e5a56c1 commit 42bdbce
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 11 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,21 @@ installed. Import the created ROCK image into Docker:
$ sudo /snap/rockcraft/current/bin/skopeo --insecure-policy copy oci-archive:<local-rock-name>.rock docker-daemon:<image-name>:<image-tag>
```

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 <container-name> <image-name>:<image-tag>
$ docker run -d \
--rm \
-p 127.0.0.1:3893:3893/tcp \
--name <container-name> \
<image-name>:<image-tag>
```

> ⚠️ **NOTE**
>
> Please refer to the [GLAuth](https://github.com/glauth/glauth) for more
> details about the configuration file.
## Deploying

### Prerequisites
Expand Down
3 changes: 3 additions & 0 deletions config/glauth.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42bdbce

Please sign in to comment.