Skip to content

Commit

Permalink
chore: update the doc and remove unnecessary config file
Browse files Browse the repository at this point in the history
  • Loading branch information
wood-push-melon committed Jan 24, 2024
1 parent e5a56c1 commit f98b21a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 44 deletions.
12 changes: 11 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ $ sudo /snap/rockcraft/current/bin/skopeo --insecure-policy copy oci-archive:<lo
Run a GLAuth container using Docker:

```shell
$ docker run --rm -p 127.0.0.1:3893:3893/tcp --name <container-name> <image-name>:<image-tag>
$ docker run -d \
--rm \
-v config/glauth.cfg:/etc/config/glauth.cfg \
-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
34 changes: 0 additions & 34 deletions config/glauth.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,6 @@ parts:
# This is needed to pipe the stdout/stderr to a file for log forwarding
- dash

config:
plugin: dump
source: ./config
source-type: local
organize:
glauth.cfg: etc/config/
stage:
- etc/config/glauth.cfg

glauth:
plugin: make
build-snaps:
Expand Down

0 comments on commit f98b21a

Please sign in to comment.