This repository has been archived by the owner on Dec 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from vania-pooh/master
Added automatic -version command (fixes #62)
- Loading branch information
Showing
4 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
== Ggr CLI Flags | ||
|
||
The following flags are supported by ```ggr``` command: | ||
``` | ||
-listen string | ||
host and port to listen to (default ":4444") | ||
-quotaDir string | ||
quota directory (default "quota") | ||
-timeout duration | ||
session creation timeout in time.Duration format, e.g. 300s or 500ms (default 5m0s) | ||
-users string | ||
htpasswd auth file path (default ".htpasswd") | ||
-version | ||
show version and exit | ||
``` | ||
For example: | ||
``` | ||
$ ./ggr -quotaDir /my/custom/quota/dir | ||
``` | ||
When using Ggr inside Docker container these flags are passed like the following: | ||
|
||
|
||
[source,bash,subs="attributes+"] | ||
---- | ||
# docker run -d --name \ | ||
ggr -v /etc/grid-router/:/etc/grid-router:ro \ | ||
--net host aerokube/ggr:1.1.1 | ||
-quotaDir /my/custom/quota/dir | ||
---- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters