2024-04-09 10:51:05 +00:00
|
|
|
services:
|
|
|
|
searxng:
|
2024-05-10 15:25:08 +00:00
|
|
|
image: docker.io/searxng/searxng:latest
|
|
|
|
volumes:
|
|
|
|
- ./searxng:/etc/searxng:rw
|
2024-05-12 06:46:08 +00:00
|
|
|
ports:
|
2024-05-13 14:28:17 +00:00
|
|
|
- 4000:8080
|
2024-05-12 08:34:05 +00:00
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-05-30 10:12:22 +00:00
|
|
|
restart: unless-stopped
|
2024-04-24 04:38:40 +00:00
|
|
|
|
2024-04-09 10:51:05 +00:00
|
|
|
perplexica-backend:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: backend.dockerfile
|
2024-10-11 08:26:10 +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
|
2024-05-12 08:34:05 +00:00
|
|
|
ports:
|
2024-05-13 14:28:17 +00:00
|
|
|
- 3001:3001
|
2024-06-29 05:40:26 +00:00
|
|
|
volumes:
|
|
|
|
- backend-dbstore:/home/perplexica/data
|
2024-09-04 13:24:54 +00:00
|
|
|
- ./config.toml:/home/perplexica/config.toml
|
2024-05-24 15:19:15 +00:00
|
|
|
extra_hosts:
|
2024-06-29 05:40:26 +00:00
|
|
|
- 'host.docker.internal:host-gateway'
|
2024-05-12 08:34:05 +00:00
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-05-30 10:12:22 +00:00
|
|
|
restart: unless-stopped
|
2024-04-09 10:51:05 +00:00
|
|
|
|
|
|
|
perplexica-frontend:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: app.dockerfile
|
|
|
|
args:
|
2024-05-13 14:28:17 +00:00
|
|
|
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
|
|
|
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
2024-10-11 08:26:10 +00:00
|
|
|
image: itzcrazykns1337/perplexica-frontend:main
|
2024-04-09 10:51:05 +00:00
|
|
|
depends_on:
|
|
|
|
- perplexica-backend
|
|
|
|
ports:
|
2024-05-13 14:28:17 +00:00
|
|
|
- 3000:3000
|
2024-05-12 08:34:05 +00:00
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-05-30 10:12:22 +00:00
|
|
|
restart: unless-stopped
|
2024-05-12 08:34:05 +00:00
|
|
|
|
|
|
|
networks:
|
2024-05-13 14:28:17 +00:00
|
|
|
perplexica-network:
|
2024-06-29 05:40:26 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
backend-dbstore:
|