Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update the doc and config file #4

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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