feat: default locale Russian, geo determines language for other countries
- localization-svc: defaultLocale ru, resolveLocale only by geo - web-svc: DEFAULT_LOCALE ru, layout lang=ru, embeddedTranslations fallback ru - countryToLocale: default ru when no country or unknown country Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
103
README.md
103
README.md
@@ -76,97 +76,32 @@ We'd also like to thank the following partners for their generous support:
|
||||
|
||||
## Installation
|
||||
|
||||
There are mainly 2 ways of installing GooSeek - With Docker, Without Docker. Using Docker is highly recommended.
|
||||
Развёртывание только через **Kubernetes** (не Docker-контейнеры напрямую). Используется Kubernetes, встроенный в Docker Desktop.
|
||||
|
||||
### Getting Started with Docker (Recommended)
|
||||
### Kubernetes (Docker Desktop)
|
||||
|
||||
GooSeek can be easily run using Docker. Simply run the following command:
|
||||
|
||||
```bash
|
||||
docker run -d -p 3000:3000 -v gooseek-data:/home/gooseek/data --name gooseek itzcrazykns1337/gooseek:latest
|
||||
```
|
||||
|
||||
This will pull and start the GooSeek container with the bundled SearxNG search engine. Once running, open your browser and navigate to http://localhost:3000. You can then configure your settings (API keys, models, etc.) directly in the setup screen.
|
||||
|
||||
**Note**: The image includes both GooSeek and SearxNG, so no additional setup is required. The `-v` flags create persistent volumes for your data and uploaded files.
|
||||
|
||||
#### Using GooSeek with Your Own SearxNG Instance
|
||||
|
||||
If you already have SearxNG running, you can use the slim version of GooSeek:
|
||||
|
||||
```bash
|
||||
docker run -d -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 -v gooseek-data:/home/gooseek/data --name gooseek itzcrazykns1337/gooseek:slim-latest
|
||||
```
|
||||
|
||||
**Important**: Make sure your SearxNG instance has:
|
||||
|
||||
- JSON format enabled in the settings
|
||||
- Wolfram Alpha search engine enabled
|
||||
|
||||
Replace `http://your-searxng-url:8080` with your actual SearxNG URL. Then configure your AI provider settings in the setup screen at http://localhost:3000.
|
||||
|
||||
#### Advanced Setup (Building from Source)
|
||||
|
||||
If you prefer to build from source or need more control:
|
||||
|
||||
1. Ensure Docker is installed and running on your system.
|
||||
2. Clone the GooSeek repository:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ItzCrazyKns/GooSeek.git
|
||||
```
|
||||
|
||||
3. After cloning, navigate to the directory containing the project files.
|
||||
|
||||
4. Build and run using Docker:
|
||||
|
||||
```bash
|
||||
docker build -f docker/Dockerfile -t gooseek .
|
||||
docker run -d -p 3000:3000 -v gooseek-data:/home/gooseek/data --name gooseek gooseek
|
||||
```
|
||||
|
||||
Or use compose: `docker compose -f docker/docker-compose.yaml up -d`
|
||||
|
||||
5. Access GooSeek at http://localhost:3000 and configure your settings in the setup screen.
|
||||
|
||||
**Note**: After the containers are built, you can start GooSeek directly from Docker without having to open a terminal.
|
||||
|
||||
### Non-Docker Installation
|
||||
|
||||
1. Install SearXNG and allow `JSON` format in the SearXNG settings. Make sure Wolfram Alpha search engine is also enabled.
|
||||
2. Clone the repository:
|
||||
1. Запустите Docker Desktop и включите Kubernetes (Settings → Kubernetes → Enable).
|
||||
2. Клонируйте репозиторий и выполните деплой:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/ItzCrazyKns/GooSeek.git
|
||||
cd GooSeek
|
||||
./deploy/k3s/deploy.sh
|
||||
```
|
||||
|
||||
3. Install dependencies:
|
||||
|
||||
```bash
|
||||
npm i
|
||||
```
|
||||
|
||||
4. Build the application:
|
||||
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
|
||||
5. Start the application:
|
||||
|
||||
```bash
|
||||
npm run start
|
||||
```
|
||||
|
||||
6. Open your browser and navigate to http://localhost:3000 to complete the setup and configure your settings (API keys, models, SearxNG URL, etc.) in the setup screen.
|
||||
|
||||
**Note**: Using Docker is recommended as it simplifies the setup process, especially for managing environment variables and dependencies.
|
||||
|
||||
See the [installation documentation](https://github.com/ItzCrazyKns/GooSeek/tree/master/docs/installation) for more information like updating, etc.
|
||||
3. Конфигурация сервисов: [deploy/k3s/deploy.config.yaml](deploy/k3s/deploy.config.yaml)
|
||||
4. Подробнее: [deploy/k3s](deploy/k3s) и [docs/architecture/MIGRATION.md](docs/architecture/MIGRATION.md)
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
#### Sign-up / Sign-in 500 Error
|
||||
|
||||
Если при регистрации или входе возникает ошибка 500:
|
||||
|
||||
1. **Миграции auth-svc** выполняются автоматически при деплое (`./deploy/k3s/deploy.sh`).
|
||||
2. **Проверьте поды:** `kubectl get pods -n gooseek`
|
||||
3. **Проверьте BETTER_AUTH_URL** в ConfigMap/Secret — должен совпадать с URL приложения (например `https://gooseek.ru`).
|
||||
|
||||
#### Local OpenAI-API-Compliant Servers
|
||||
|
||||
If GooSeek tells you that you haven't configured any chat model providers, ensure that:
|
||||
@@ -182,8 +117,7 @@ If you're encountering an Ollama connection error, it is likely due to the backe
|
||||
1. **Check your Ollama API URL:** Ensure that the API URL is correctly set in the settings menu.
|
||||
2. **Update API URL Based on OS:**
|
||||
|
||||
- **Windows:** Use `http://host.docker.internal:11434`
|
||||
- **Mac:** Use `http://host.docker.internal:11434`
|
||||
- **Windows/Mac (Docker):** Use `http://host.docker.internal:11434`
|
||||
- **Linux:** Use `http://<private_ip_of_host>:11434`
|
||||
|
||||
Adjust the port number if you're using a different one.
|
||||
@@ -201,8 +135,7 @@ If you're encountering a Lemonade connection error, it is likely due to the back
|
||||
1. **Check your Lemonade API URL:** Ensure that the API URL is correctly set in the settings menu.
|
||||
2. **Update API URL Based on OS:**
|
||||
|
||||
- **Windows:** Use `http://host.docker.internal:8000`
|
||||
- **Mac:** Use `http://host.docker.internal:8000`
|
||||
- **Windows/Mac (Docker):** Use `http://host.docker.internal:8000`
|
||||
- **Linux:** Use `http://<private_ip_of_host>:8000`
|
||||
|
||||
Adjust the port number if you're using a different one.
|
||||
@@ -237,7 +170,7 @@ GooSeek runs on Next.js and handles all API requests. It works right away on the
|
||||
[](https://usw.sealos.io/?openapp=system-template%3FtemplateName%3Dgooseek)
|
||||
[](https://repocloud.io/details/?app_id=267)
|
||||
[](https://template.run.claw.cloud/?referralCode=U11MRQ8U9RM4&openapp=system-fastdeploy%3FtemplateName%3Dgooseek)
|
||||
[](https://www.hostinger.com/vps/docker-hosting?compose_url=https://raw.githubusercontent.com/ItzCrazyKns/GooSeek/refs/heads/master/docker-compose.yaml)
|
||||
[](https://www.hostinger.com/vps/)
|
||||
|
||||
## Upcoming Features
|
||||
|
||||
|
||||
Reference in New Issue
Block a user