mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-10-21 23:08:15 +00:00
feat(app): rename standalone to slim
This commit is contained in:
10
.github/workflows/docker-build.yaml
vendored
10
.github/workflows/docker-build.yaml
vendored
@@ -16,8 +16,8 @@ jobs:
|
|||||||
variant:
|
variant:
|
||||||
- name: full
|
- name: full
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
- name: standalone
|
- name: slim
|
||||||
dockerfile: Dockerfile.standalone
|
dockerfile: Dockerfile.slim
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -84,8 +84,8 @@ jobs:
|
|||||||
variant:
|
variant:
|
||||||
- name: full
|
- name: full
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
- name: standalone
|
- name: slim
|
||||||
dockerfile: Dockerfile.standalone
|
dockerfile: Dockerfile.slim
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@@ -150,7 +150,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
variant: [full, standalone]
|
variant: [full, slim]
|
||||||
steps:
|
steps:
|
||||||
- name: Log in to DockerHub
|
- name: Log in to DockerHub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
@@ -79,7 +79,7 @@ There are mainly 2 ways of installing Perplexica - With Docker, Without Docker.
|
|||||||
Perplexica can be easily run using Docker. Simply run the following command:
|
Perplexica can be easily run using Docker. Simply run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 3000:3000 -p 8080:8080 --name perplexica itzcrazykns1337/perplexica:latest
|
docker run -p 3000:3000 --name perplexica itzcrazykns1337/perplexica:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
This will pull and start the Perplexica 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.
|
This will pull and start the Perplexica 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.
|
||||||
@@ -88,13 +88,14 @@ This will pull and start the Perplexica container with the bundled SearxNG searc
|
|||||||
|
|
||||||
#### Using Perplexica with Your Own SearxNG Instance
|
#### Using Perplexica with Your Own SearxNG Instance
|
||||||
|
|
||||||
If you already have SearxNG running, you can use the standalone version of Perplexica:
|
If you already have SearxNG running, you can use the slim version of Perplexica:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 --name perplexica itzcrazykns1337/perplexica:standalone-latest
|
docker run -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 --name perplexica itzcrazykns1337/perplexica:slim-latest
|
||||||
```
|
```
|
||||||
|
|
||||||
**Important**: Make sure your SearxNG instance has:
|
**Important**: Make sure your SearxNG instance has:
|
||||||
|
|
||||||
- JSON format enabled in the settings
|
- JSON format enabled in the settings
|
||||||
- Wolfram Alpha search engine enabled
|
- Wolfram Alpha search engine enabled
|
||||||
|
|
||||||
@@ -117,7 +118,7 @@ If you prefer to build from source or need more control:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker build -t perplexica .
|
docker build -t perplexica .
|
||||||
docker run -p 3000:3000 -p 8080:8080 --name perplexica perplexica
|
docker run -p 3000:3000 --name perplexica perplexica
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Access Perplexica at http://localhost:3000 and configure your settings in the setup screen.
|
5. Access Perplexica at http://localhost:3000 and configure your settings in the setup screen.
|
||||||
|
@@ -10,16 +10,16 @@ Simply pull the latest image and restart your container:
|
|||||||
docker pull itzcrazykns1337/perplexica:latest
|
docker pull itzcrazykns1337/perplexica:latest
|
||||||
docker stop perplexica
|
docker stop perplexica
|
||||||
docker rm perplexica
|
docker rm perplexica
|
||||||
docker run -p 3000:3000 -p 8080:8080 --name perplexica itzcrazykns1337/perplexica:latest
|
docker run -p 3000:3000 --name perplexica itzcrazykns1337/perplexica:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
For standalone version:
|
For slim version:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull itzcrazykns1337/perplexica:standalone-latest
|
docker pull itzcrazykns1337/perplexica:slim-latest
|
||||||
docker stop perplexica
|
docker stop perplexica
|
||||||
docker rm perplexica
|
docker rm perplexica
|
||||||
docker run -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 --name perplexica itzcrazykns1337/perplexica:standalone-latest
|
docker run -p 3000:3000 -e SEARXNG_API_URL=http://your-searxng-url:8080 --name perplexica itzcrazykns1337/perplexica:slim-latest
|
||||||
```
|
```
|
||||||
|
|
||||||
Once updated, go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.
|
Once updated, go to http://localhost:3000 and verify the latest changes. Your settings are preserved automatically.
|
||||||
|
Reference in New Issue
Block a user