docs(readme): update service configuration and license link
Some checks failed
Auto Changelog & Release / detect-version-change (push) Has been cancelled
Build and upload Docker nightly image / build-and-push (push) Has been cancelled
Auto Changelog & Release / changelog-only (push) Has been cancelled
Auto Changelog & Release / release (push) Has been cancelled

- Switch language tool server image and add restart policy
- Update user, network, and API key configurations
- Adjust port for language tool server
- Add note about SSL encryption requirement
- Update license section with link to LICENSE file
This commit is contained in:
2025-05-11 16:07:52 +02:00
parent a7035a6bac
commit 92b075df55

View File

@@ -62,23 +62,27 @@ src/
```yaml ```yaml
services: services:
lt-server: lt-server:
image: languagetool/languagetool:latest image: meyay/languagetool:latest
ports: restart: unless-stopped
- "8010:8010" user: "783:783"
networks:
- default
proxy: proxy:
image: git.0xmax42.io/maxp/lt-auth-proxy:latest image: git.0xmax42.io/maxp/lt-auth-proxy:latest
ports: ports:
- "8011:8011" - "8011:8011"
environment: environment:
- API_KEYS=demo-key - API_KEYS=demo-key,another-key
- LT_SERVER_HOST=lt-server - LT_SERVER_HOST=lt-server
- LT_SERVER_PORT=8010 - LT_SERVER_PORT=8081
``` ```
Please note that this setup does not include SSL encryption. A reverse proxy such as Traefik should be used for this.
--- ---
## 📖 License ## 📖 License
MIT © 0xMax42 [MIT © 0xMax42](./LICENSE)
[https://git.0xmax42.io/maxp/lt-auth-proxy](https://git.0xmax42.io/maxp/lt-auth-proxy) [https://git.0xmax42.io/maxp/lt-auth-proxy](https://git.0xmax42.io/maxp/lt-auth-proxy)