perplexica/docker-compose.yaml

55 lines
1.2 KiB
YAML
Raw Normal View History

2024-04-09 10:51:05 +00:00
services:
searxng:
image: docker.io/searxng/searxng:latest
volumes:
- ./searxng:/etc/searxng:rw
ports:
- 4000:8080
networks:
- perplexica-network
restart: unless-stopped
2024-04-09 10:51:05 +00:00
perplexica-backend:
build:
context: .
dockerfile: backend.dockerfile
2024-10-02 16:29:40 +00:00
image: itzcrazykns1337/perplexica-backend:main
environment:
- SEARXNG_API_URL=http://searxng:8080
2024-04-09 10:51:05 +00:00
depends_on:
- searxng
ports:
- 3001:3001
volumes:
- backend-dbstore:/home/perplexica/data
2024-11-23 09:34:19 +00:00
- uploads:/home/perplexica/uploads
- ./config.toml:/home/perplexica/config.toml
extra_hosts:
- 'host.docker.internal:host-gateway'
networks:
- perplexica-network
restart: unless-stopped
2024-04-09 10:51:05 +00:00
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
2024-10-02 16:29:40 +00:00
image: itzcrazykns1337/perplexica-frontend:main
2024-04-09 10:51:05 +00:00
depends_on:
- perplexica-backend
ports:
- 3000:3000
networks:
- perplexica-network
restart: unless-stopped
networks:
perplexica-network:
volumes:
backend-dbstore:
2024-11-23 09:34:19 +00:00
uploads: