feat(docker-compose): update ports, change network type
This commit is contained in:
parent
1b18715f8f
commit
b622df5a9f
|
@ -1,39 +1,30 @@
|
||||||
services:
|
services:
|
||||||
searxng:
|
searxng:
|
||||||
image: docker.io/searxng/searxng:latest
|
image: docker.io/searxng/searxng:latest
|
||||||
ports:
|
|
||||||
- 4000:8080
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng:/etc/searxng:rw
|
- ./searxng:/etc/searxng:rw
|
||||||
networks:
|
ports:
|
||||||
- perplexica-network
|
- 31336:8080
|
||||||
|
|
||||||
perplexica-backend:
|
perplexica-backend:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: backend.dockerfile
|
dockerfile: backend.dockerfile
|
||||||
args:
|
args:
|
||||||
- SEARXNG_API_URL=http://searxng:8080
|
- SEARXNG_API_URL=http://127.0.0.1:31336
|
||||||
depends_on:
|
depends_on:
|
||||||
- searxng
|
- searxng
|
||||||
ports:
|
network_mode: host
|
||||||
- 3001:3001
|
|
||||||
networks:
|
|
||||||
- perplexica-network
|
|
||||||
|
|
||||||
perplexica-frontend:
|
perplexica-frontend:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: app.dockerfile
|
dockerfile: app.dockerfile
|
||||||
args:
|
args:
|
||||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
- NEXT_PUBLIC_API_URL=http://127.0.0.1:31338/api
|
||||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:31338
|
||||||
|
- PORT=31337
|
||||||
depends_on:
|
depends_on:
|
||||||
- perplexica-backend
|
- perplexica-backend
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 31337:31337
|
||||||
networks:
|
|
||||||
- perplexica-network
|
|
||||||
|
|
||||||
networks:
|
|
||||||
perplexica-network:
|
|
||||||
|
|
Loading…
Reference in New Issue