mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-04-30 08:12:26 +00:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
services:
|
|
searxng:
|
|
image: docker.io/searxng/searxng:latest
|
|
volumes:
|
|
- ./searxng:/etc/searxng:rw
|
|
ports:
|
|
- 4000:8080
|
|
networks:
|
|
- perplexica-network
|
|
restart: unless-stopped
|
|
|
|
app:
|
|
image: itzcrazykns1337/perplexica:main
|
|
build:
|
|
context: .
|
|
dockerfile: app.dockerfile
|
|
environment:
|
|
- SEARXNG_API_URL=http://searxng:8080
|
|
- GENERAL_SIMILARITY_MEASURE="cosine" # "cosine" or "dot"
|
|
- GENERAL_KEEP_ALIVE="5m" # How long to keep Ollama models loaded into memory. (Instead of using -1 use "-1m")
|
|
- MODELS_OPENAI_API_KEY=""
|
|
- MODELS_GROQ_API_KEY=""
|
|
- MODELS_ANTHROPIC_API_KEY=""
|
|
- MODELS_GEMINI_API_KEY=""
|
|
- MODELS_CUSTOM_OPENAI_API_KEY=""
|
|
- MODELS_CUSTOM_OPENAI_API_URL=""
|
|
- MODELS_CUSTOM_OPENAI_MODEL_NAME=""
|
|
- MODELS_OLLAMA_API_KEY="" # Ollama API URL - http://host.docker.internal:11434
|
|
- MODELS_DEEPSEEK_API_KEY=""
|
|
- MODELS_LM_STUDIO_API_KEY="" # LM Studio API URL - http://host.docker.internal:1234
|
|
- API_ENDPOINTS_SEARXNG="" # SearxNG API URL - http://localhost:32768
|
|
ports:
|
|
- 3000:3000
|
|
networks:
|
|
- perplexica-network
|
|
volumes:
|
|
- backend-dbstore:/home/perplexica/data
|
|
- uploads:/home/perplexica/uploads
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
perplexica-network:
|
|
|
|
volumes:
|
|
backend-dbstore:
|
|
uploads:
|