perplexica/docker-compose.yaml

40 lines
778 B
YAML
Raw Normal View History

2024-04-09 10:51:05 +00:00
services:
searxng:
image: docker.io/searxng/searxng:latest
2024-04-09 10:51:05 +00:00
ports:
- 4000:8080
volumes:
- ./searxng:/etc/searxng:rw
2024-04-09 10:51:05 +00:00
networks:
- perplexica-network
2024-04-09 10:51:05 +00:00
perplexica-backend:
build:
context: .
dockerfile: backend.dockerfile
args:
- SEARXNG_API_URL=http://searxng:8080
depends_on:
- searxng
ports:
- 3001:3001
networks:
- perplexica-network
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
depends_on:
- perplexica-backend
ports:
- 3000:3000
networks:
- perplexica-network
networks:
2024-05-09 15:13:04 +00:00
perplexica-network: