Update .gitignore
This commit is contained in:
parent
ce593daab9
commit
5075372a61
9 changed files with 208 additions and 19 deletions
53
docker-compose copy.yaml
Normal file
53
docker-compose copy.yaml
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
services:
|
||||
searxng:
|
||||
image: docker.io/searxng/searxng:latest
|
||||
volumes:
|
||||
- ./searxng:/etc/searxng:rw
|
||||
ports:
|
||||
- 8080:8080 # Changed to 8080:8080 for Digital Ocean compatibility
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASE_URL=${SEARXNG_BASE_URL:-http://0.0.0.0:8080/}
|
||||
|
||||
perplexica-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend.dockerfile
|
||||
args:
|
||||
- SEARXNG_API_URL=https://searxng:8080
|
||||
depends_on:
|
||||
- searxng
|
||||
ports:
|
||||
- 3001:3001 # Kept original port
|
||||
volumes:
|
||||
- backend-dbstore:/home/perplexica/data
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3001
|
||||
|
||||
perplexica-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: app.dockerfile
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=${BACKEND_URL:-https://0.0.0.0:3001/api}
|
||||
- NEXT_PUBLIC_WS_URL=${WS_URL:-ws://0.0.0.0:3001}
|
||||
depends_on:
|
||||
- perplexica-backend
|
||||
ports:
|
||||
- 3000:3000 # Kept original port
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3000
|
||||
|
||||
networks:
|
||||
perplexica-network:
|
||||
|
||||
volumes:
|
||||
backend-dbstore:
|
||||
Loading…
Add table
Add a link
Reference in a new issue