FIX: Update docker-compose.yaml to handle bundled/unbundled SearXNG installs
This commit is contained in:
parent
0a7167eb04
commit
5352a83a8b
2 changed files with 5 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue