2024-04-09 16:21:05 +05:30
|
|
|
services:
|
|
|
|
searxng:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: searxng.dockerfile
|
|
|
|
expose:
|
|
|
|
- 4000
|
|
|
|
ports:
|
|
|
|
- 4000:8080
|
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-04-24 10:08:40 +05:30
|
|
|
|
2024-04-09 16:21:05 +05:30
|
|
|
perplexica-backend:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: backend.dockerfile
|
|
|
|
args:
|
2024-05-10 16:07:58 -04:00
|
|
|
- SEARXNG_API_URL=null
|
|
|
|
environment:
|
|
|
|
SEARXNG_API_URL: "http://searxng:8080"
|
|
|
|
OPENAI: ${OPENAI}
|
|
|
|
GROQ: ${GROQ}
|
|
|
|
OLLAMA_API_URL: ${OLLAMA_API_URL}
|
2024-04-09 16:21:05 +05:30
|
|
|
depends_on:
|
|
|
|
- searxng
|
|
|
|
expose:
|
|
|
|
- 3001
|
|
|
|
ports:
|
|
|
|
- 3001:3001
|
|
|
|
networks:
|
|
|
|
- perplexica-network
|
|
|
|
|
|
|
|
perplexica-frontend:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: app.dockerfile
|
|
|
|
args:
|
2024-05-10 16:07:58 -04:00
|
|
|
- SUPER_SECRET_KEY=${SUPER_SECRET_KEY}
|
|
|
|
- NEXT_PUBLIC_API_URL=http://${REMOTE_BACKEND_ADDRESS}/api
|
|
|
|
- NEXT_PUBLIC_WS_URL=ws://${REMOTE_BACKEND_ADDRESS}
|
2024-04-09 16:21:05 +05:30
|
|
|
depends_on:
|
|
|
|
- perplexica-backend
|
|
|
|
expose:
|
|
|
|
- 3000
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
|
|
|
networks:
|
|
|
|
- perplexica-network
|
|
|
|
|
|
|
|
networks:
|
|
|
|
perplexica-network:
|