Compare commits

3 Commits

Author SHA1 Message Date
36a1b08052 chore(version): bump version to 0.5.0
All checks were successful
Auto Changelog & Release / detect-version-change (push) Successful in 5s
Auto Changelog & Release / changelog-only (push) Has been skipped
Auto Changelog & Release / release (push) Successful in 10s
Build and upload Docker nightly image / build-and-push (push) Successful in 2m55s
2025-05-11 16:10:21 +02:00
9d902dce55 docs: update LanguageTool backend port in README
- Change the default `LT_SERVER_PORT` from 8010 to 8081 in usage examples
- Reflect the updated port in the environment variables table
2025-05-11 16:10:20 +02:00
f15cfec74f feat(env): update default LanguageTool server port to 8081 2025-05-11 16:10:20 +02:00
3 changed files with 5 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ You can run the proxy via Docker:
docker run -p 8011:8011 \ docker run -p 8011:8011 \
-e API_KEYS="demo-key,another-key" \ -e API_KEYS="demo-key,another-key" \
-e LT_SERVER_HOST=lt-server \ -e LT_SERVER_HOST=lt-server \
-e LT_SERVER_PORT=8010 \ -e LT_SERVER_PORT=8081 \
git.0xmax42.io/simdev/lt-auth-proxy:latest git.0xmax42.io/simdev/lt-auth-proxy:latest
``` ```
@@ -41,7 +41,7 @@ docker run -p 8011:8011 \
| `PROXY_HOST` | ❌ no | `0.0.0.0` | Host/IP address to bind the proxy to | | `PROXY_HOST` | ❌ no | `0.0.0.0` | Host/IP address to bind the proxy to |
| `PROXY_PORT` | ❌ no | `8011` | Port the proxy listens on | | `PROXY_PORT` | ❌ no | `8011` | Port the proxy listens on |
| `LT_SERVER_HOST` | ❌ no | `localhost` | Hostname of the LanguageTool backend | | `LT_SERVER_HOST` | ❌ no | `localhost` | Hostname of the LanguageTool backend |
| `LT_SERVER_PORT` | ❌ no | `8010` | Port of the LanguageTool backend | | `LT_SERVER_PORT` | ❌ no | `8081` | Port of the LanguageTool backend |
--- ---

View File

@@ -1 +1 @@
0.4.0 0.5.0

View File

@@ -53,10 +53,10 @@ export class Env {
return this._ltServerHost; return this._ltServerHost;
} }
/** Port of the LanguageTool backend (default: 8010) */ /** Port of the LanguageTool backend (default: 8081) */
static get ltServerPort(): number { static get ltServerPort(): number {
if (this._ltServerPort === undefined) { if (this._ltServerPort === undefined) {
this._ltServerPort = Number(this.getEnv('LT_SERVER_PORT') || 8010); this._ltServerPort = Number(this.getEnv('LT_SERVER_PORT') || 8081);
} }
return this._ltServerPort; return this._ltServerPort;
} }