Skip to content
Merged
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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ fessctl --help

```bash
export FESS_ACCESS_TOKEN=...
export FESS_VERSION=15.1.0
fessctl ping
fessctl user list
fessctl webconfig create --name TestConfig --url https://test.config.com/
Expand All @@ -57,15 +58,17 @@ docker build -t fessctl:latest .

You need to provide the following environment variables when running:

- FESS_ENDPOINT: The URL of your Fess servers API endpoint. (Default: `http://localhost:8080`)
- FESS_ENDPOINT: The URL of your Fess server's API endpoint. (Default: `http://localhost:8080`)
- FESS_ACCESS_TOKEN: Your access token to authenticate with the Fess API.
- FESS_VERSION: Your Fess server version for API compatibility. (Default: `15.1.0`)

Example:

```bash
docker run --rm \
-e FESS_ENDPOINT=https://your-fess-server \
-e FESS_ACCESS_TOKEN=your_access_token_here \
-e FESS_VERSION=15.1.0 \
fessctl --help
```

Expand All @@ -75,6 +78,7 @@ To run an actual command, for example:
docker run --rm \
-e FESS_ENDPOINT=https://your-fess-server \
-e FESS_ACCESS_TOKEN=your_access_token_here \
-e FESS_VERSION=15.1.0 \
fessctl webconfig list
```

Expand Down