mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-04-30 08:12:26 +00:00
Larger instances will benefit from this change massively. Also QWant was spamming the logs with some chaptcha problem so best to disable it for now.
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
services:
|
|
searxng:
|
|
image: docker.io/searxng/searxng:latest
|
|
volumes:
|
|
- ./searxng:/etc/searxng:rw
|
|
ports:
|
|
- 4000:8080
|
|
networks:
|
|
- perplexica-network
|
|
restart: unless-stopped
|
|
|
|
perplexica-backend:
|
|
build:
|
|
context: .
|
|
dockerfile: backend.dockerfile
|
|
image: itzcrazykns1337/perplexica-backend:main
|
|
environment:
|
|
- SEARXNG_API_URL=http://searxng:8080
|
|
depends_on:
|
|
- searxng
|
|
ports:
|
|
- 3001:3001
|
|
volumes:
|
|
- backend-dbstore:/home/perplexica/data
|
|
- uploads:/home/perplexica/uploads
|
|
- ./config.toml:/home/perplexica/config.toml
|
|
extra_hosts:
|
|
- 'host.docker.internal:host-gateway'
|
|
networks:
|
|
- perplexica-network
|
|
restart: unless-stopped
|
|
|
|
perplexica-frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: app.dockerfile
|
|
args:
|
|
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
|
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
|
image: itzcrazykns1337/perplexica-frontend:main
|
|
depends_on:
|
|
- perplexica-backend
|
|
ports:
|
|
- 3000:3000
|
|
networks:
|
|
- perplexica-network
|
|
restart: unless-stopped
|
|
|
|
redict:
|
|
image: registry.redict.io/redict:latest
|
|
container_name: perplexica-redict
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- redict_data:/data
|
|
- ./redict/redict.conf:/redict.conf:rw
|
|
networks:
|
|
- perplexica-network
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
perplexica-network:
|
|
|
|
volumes:
|
|
backend-dbstore:
|
|
uploads:
|
|
redict_data: |