diff --git a/.github/workflows/docker-build.yaml b/.github/workflows/docker-build.yaml index af715a8..48a67ee 100644 --- a/.github/workflows/docker-build.yaml +++ b/.github/workflows/docker-build.yaml @@ -16,8 +16,8 @@ jobs: variant: - name: full dockerfile: Dockerfile - - name: standalone - dockerfile: Dockerfile.standalone + - name: slim + dockerfile: Dockerfile.slim steps: - name: Checkout code uses: actions/checkout@v3 @@ -84,8 +84,8 @@ jobs: variant: - name: full dockerfile: Dockerfile - - name: standalone - dockerfile: Dockerfile.standalone + - name: slim + dockerfile: Dockerfile.slim steps: - name: Checkout code uses: actions/checkout@v3 @@ -150,7 +150,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - variant: [full, standalone] + variant: [full, slim] steps: - name: Log in to DockerHub uses: docker/login-action@v2 diff --git a/Dockerfile.standalone b/Dockerfile.slim similarity index 100% rename from Dockerfile.standalone rename to Dockerfile.slim diff --git a/README.md b/README.md index 3874bd6..ce2db8b 100644 --- a/README.md +++ b/README.md @@ -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: ```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. @@ -88,13 +88,14 @@ This will pull and start the Perplexica container with the bundled SearxNG searc #### 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 -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: + - JSON format enabled in the settings - Wolfram Alpha search engine enabled @@ -117,7 +118,7 @@ If you prefer to build from source or need more control: ```bash 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. diff --git a/docs/installation/UPDATING.md b/docs/installation/UPDATING.md index 01eae84..daa1122 100644 --- a/docs/installation/UPDATING.md +++ b/docs/installation/UPDATING.md @@ -10,16 +10,16 @@ Simply pull the latest image and restart your container: docker pull itzcrazykns1337/perplexica:latest docker stop 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 -docker pull itzcrazykns1337/perplexica:standalone-latest +docker pull itzcrazykns1337/perplexica:slim-latest docker stop 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.