From 5352a83a8bd03ec45b9e476bb5e56f1599a3c41e Mon Sep 17 00:00:00 2001 From: Ber Gutman Date: Sun, 13 Oct 2024 23:41:15 +0200 Subject: [PATCH] FIX: Update docker-compose.yaml to handle bundled/unbundled SearXNG installs --- README.md | 4 +++- docker-compose.yaml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f66e8b1..cc7921f 100644 --- a/README.md +++ b/README.md @@ -79,9 +79,11 @@ There are mainly 2 ways of installing Perplexica - With Docker, Without Docker. 5. Ensure you are in the directory containing the `docker-compose.yaml` file and execute: ```bash - docker compose up -d + docker-compose --profile bundled up -d ``` +**Note**: `--profile bundled` installs SearXNG locally. If you are using an externally managed SearXNG instance omit this profile. + 6. Wait a few minutes for the setup to complete. You can access Perplexica at http://localhost:3000 in your web browser. **Note**: After the containers are built, you can start Perplexica directly from Docker without having to open a terminal. diff --git a/docker-compose.yaml b/docker-compose.yaml index 46d82c6..dc15def 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,6 +8,8 @@ services: networks: - perplexica-network restart: unless-stopped + profiles: + - bundled perplexica-backend: build: @@ -16,8 +18,6 @@ services: image: itzcrazykns1337/perplexica-backend:main environment: - SEARXNG_API_URL=http://searxng:8080 - depends_on: - - searxng ports: - 3001:3001 volumes: