Skip to content

Commit

Permalink
docs: Update configuration page
Browse files Browse the repository at this point in the history
  • Loading branch information
lo5 committed Oct 20, 2020
1 parent b8b55c3 commit 23098f7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 15 deletions.
8 changes: 4 additions & 4 deletions cmd/wave/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ func main() {
flag.StringVar(&conf.CertFile, "tls-cert-file", "", "path to certificate file (TLS only)")
flag.StringVar(&conf.KeyFile, "tls-key-file", "", "path to private key file (TLS only)")
flag.BoolVar(&conf.Debug, "debug", false, "enable debug mode (profiling, inspection, etc.)")
flag.StringVar(&conf.OIDCClientID, "oidc-client-id", "", "OIDC client id")
flag.StringVar(&conf.OIDCClientID, "oidc-client-id", "", "OIDC client ID")
flag.StringVar(&conf.OIDCClientSecret, "oidc-client-secret", "", "OIDC client secret")
flag.StringVar(&conf.OIDCProviderURL, "oidc-provider-url", "", "OIDC provider url")
flag.StringVar(&conf.OIDCRedirectURL, "oidc-redirect-url", "", "OIDC redirect url")
flag.StringVar(&conf.OIDCEndSessionURL, "oidc-end-session-url", "", "OIDC end session url")
flag.StringVar(&conf.OIDCProviderURL, "oidc-provider-url", "", "OIDC provider URL")
flag.StringVar(&conf.OIDCRedirectURL, "oidc-redirect-url", "", "OIDC redirect URL")
flag.StringVar(&conf.OIDCEndSessionURL, "oidc-end-session-url", "", "OIDC end session URL")

flag.Parse()

Expand Down
32 changes: 21 additions & 11 deletions website/docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,37 @@ Execute `wave -help` to see all available command line options:
$ ./wave -help
Usage of ./wave:
-access-key-id string
default access key ID (default "access_key_id")
default access key ID (default "access_key_id")
-access-key-secret string
default access key secret (default "access_key_secret")
default access key secret (default "access_key_secret")
-compact string
compact AOF log
compact AOF log
-data-dir string
directory to store site data (default "./data")
directory to store site data (default "./data")
-debug
enable debug mode (profiling, inspection, etc.)
enable debug mode (profiling, inspection, etc.)
-init string
initialize site content from AOF log
initialize site content from AOF log
-listen string
listen on this address (default ":55555")
listen on this address (default ":55555")
-oidc-client-id string
OIDC client ID
-oidc-client-secret string
OIDC client secret
-oidc-end-session-url string
OIDC end session URL
-oidc-provider-url string
OIDC provider URL
-oidc-redirect-url string
OIDC redirect URL
-tls-cert-file string
path to certificate file (TLS only)
path to certificate file (TLS only)
-tls-key-file string
path to private key file (TLS only)
path to private key file (TLS only)
-version
print version and exit
print version and exit
-web-dir string
directory to serve web assets from (default "./www")
directory to serve web assets from (default "./www")
```

## Configuring your app
Expand Down

0 comments on commit 23098f7

Please sign in to comment.