Add PDF search feature and update Docker configuration
This commit is contained in:
parent
060c68a900
commit
4d438f06cd
7 changed files with 265 additions and 14 deletions
|
|
@ -13,9 +13,11 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: backend.dockerfile
|
||||
target: development
|
||||
image: itzcrazykns1337/perplexica-backend:main
|
||||
environment:
|
||||
- SEARXNG_API_URL=http://searxng:8080
|
||||
- NODE_ENV=development
|
||||
depends_on:
|
||||
- searxng
|
||||
ports:
|
||||
|
|
@ -24,27 +26,41 @@ services:
|
|||
- backend-dbstore:/home/perplexica/data
|
||||
- uploads:/home/perplexica/uploads
|
||||
- ./config.toml:/home/perplexica/config.toml
|
||||
- ./src:/home/perplexica/src
|
||||
- ./package.json:/home/perplexica/package.json
|
||||
- ./yarn.lock:/home/perplexica/yarn.lock
|
||||
- ./tsconfig.json:/home/perplexica/tsconfig.json
|
||||
- ./drizzle.config.ts:/home/perplexica/drizzle.config.ts
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
command: yarn dev
|
||||
|
||||
perplexica-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: app.dockerfile
|
||||
target: development
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
image: itzcrazykns1337/perplexica-frontend:main
|
||||
depends_on:
|
||||
- perplexica-backend
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- ./ui:/home/perplexica
|
||||
- /home/perplexica/node_modules
|
||||
- /home/perplexica/.next
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
command: yarn dev
|
||||
|
||||
networks:
|
||||
perplexica-network:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue