2024-04-09 16:21:05 +05:30
|
|
|
services:
|
|
|
|
searxng:
|
2024-05-10 20:55:08 +05:30
|
|
|
image: docker.io/searxng/searxng:latest
|
|
|
|
volumes:
|
|
|
|
- ./searxng:/etc/searxng:rw
|
2024-05-12 12:16:08 +05:30
|
|
|
ports:
|
2024-05-13 19:58:17 +05:30
|
|
|
- 4000:8080
|
2024-05-12 14:04:05 +05:30
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-05-30 18:12:22 +08:00
|
|
|
restart: unless-stopped
|
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-12 14:04:05 +05:30
|
|
|
- SEARXNG_API_URL=http://searxng:8080
|
2024-04-09 16:21:05 +05:30
|
|
|
depends_on:
|
|
|
|
- searxng
|
2024-05-12 14:04:05 +05:30
|
|
|
ports:
|
2024-05-13 19:58:17 +05:30
|
|
|
- 3001:3001
|
2024-06-29 11:10:26 +05:30
|
|
|
volumes:
|
|
|
|
- backend-dbstore:/home/perplexica/data
|
2024-09-04 18:54:54 +05:30
|
|
|
- ./config.toml:/home/perplexica/config.toml
|
2024-05-24 08:19:15 -07:00
|
|
|
extra_hosts:
|
2024-06-29 11:10:26 +05:30
|
|
|
- 'host.docker.internal:host-gateway'
|
2024-05-12 14:04:05 +05:30
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-05-30 18:12:22 +08:00
|
|
|
restart: unless-stopped
|
2024-09-23 02:20:58 +03:00
|
|
|
develop:
|
|
|
|
watch:
|
|
|
|
- action: sync
|
|
|
|
path: ./backend
|
|
|
|
target: /home/perplexica
|
|
|
|
ignore:
|
|
|
|
- node_modules/
|
|
|
|
- action: rebuild
|
|
|
|
path: backend.dockerfile
|
2024-04-09 16:21:05 +05:30
|
|
|
|
|
|
|
perplexica-frontend:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: app.dockerfile
|
|
|
|
args:
|
2024-05-13 19:58:17 +05:30
|
|
|
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
|
|
|
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
2024-04-09 16:21:05 +05:30
|
|
|
depends_on:
|
|
|
|
- perplexica-backend
|
|
|
|
ports:
|
2024-05-13 19:58:17 +05:30
|
|
|
- 3000:3000
|
2024-05-12 14:04:05 +05:30
|
|
|
networks:
|
|
|
|
- perplexica-network
|
2024-05-30 18:12:22 +08:00
|
|
|
restart: unless-stopped
|
2024-09-23 02:20:58 +03:00
|
|
|
develop:
|
|
|
|
watch:
|
|
|
|
- action: sync
|
|
|
|
path: ./frontend
|
|
|
|
target: /app
|
|
|
|
ignore:
|
|
|
|
- node_modules/
|
|
|
|
- .next/
|
|
|
|
- action: rebuild
|
|
|
|
path: app.dockerfile
|
2024-05-12 14:04:05 +05:30
|
|
|
|
|
|
|
networks:
|
2024-05-13 19:58:17 +05:30
|
|
|
perplexica-network:
|
2024-06-29 11:10:26 +05:30
|
|
|
|
|
|
|
volumes:
|
|
|
|
backend-dbstore:
|