Perplexica/docker-compose.yaml

46 lines
1 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:
image: docker.io/itzcrazykns1337/perplexica-backend:latest
depends_on:
- searxng
ports:
- 3001:3001
volumes:
- backend-dbstore:/home/perplexica/data
- ./config.toml:/home/perplexica/config.toml
environment:
- SEARXNG_API_URL=http://searxng:4000
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- perplexica-network
restart: unless-stopped
perplexica-frontend:
image: docker.io/itzcrazykns1337/perplexica-frontend:latest
depends_on:
- perplexica-backend
ports:
- 3000:3000
environment:
- BACKEND_API_URL=http://127.0.0.1:3001/api
- BACKEND_WS_URL=ws://127.0.0.1:3001
networks:
- perplexica-network
restart: unless-stopped
networks:
perplexica-network:
volumes:
backend-dbstore: