Open warlordattack opened 3 days ago
Ok looks like my AdGuard blocked telemetry.nextjs.org witch is needed to load the start page, once unblocked in AdGuard, it works.
Is telemetry needed ? Please add option to disable this if not needed :)
Then you have to change settings to make it work with local ollama :
Now trying to get it work over traefik with local ssl :
version: "3.2"
services:
back:
build:
context: .
dockerfile: backend.dockerfile
args:
- SEARXNG_API_URL=http://${C_SXN_HOST}:${C_SXN_8080_L}
container_name: ${C_PPKB}
user: ${PUID}:${PGID}
restart: ${C_ALL_RESTART}
hostname: ${C_PPKB_HOST}
ports:
- ${C_PPKB_3001}:3001
volumes:
- ${REP_APPDATA}/${C_SXN}:/etc/searxng
- ${REP_APPDATA}/${C_PPK}/data:/home/perplexica/data
- ${REP_APPDATA}/${C_PPK}/config.toml:/home/perplexica/config.toml
networks:
web:
ipv4_address: ${C_PPKB_IP_WEB}
front:
build:
context: .
dockerfile: app.dockerfile
args:
#- NEXT_PUBLIC_API_URL=http://${C_PPKB_HOST}:3001/api
#- NEXT_PUBLIC_WS_URL=ws://${C_PPKB_HOST}:3001
- NEXT_PUBLIC_API_URL=https://${C_PPKB_HOST}.${DOML}/api
- NEXT_PUBLIC_WS_URL=wss://${C_PPKB_HOST}.${DOML}
container_name: ${C_PPKF}
user: ${PUID}:${PGID}
restart: ${C_ALL_RESTART}
hostname: ${C_PPKF_HOST}
ports:
- ${C_PPKF_3000}:3000
networks:
web:
ipv4_address: ${C_PPKF_IP_WEB}
networks:
web:
external: true
traefik :
http:
#region routers
routers:
ppkb: # perplexica back
entryPoints:
- "https"
rule: "Host(`ppkb.l.d0ge.ovh`)"
middlewares:
- default-headers
- https-redirectscheme
tls: {}
service: ppkb
ppkf: # perplexica front
entryPoints:
- "https"
rule: "Host(`ppk.l.d0ge.ovh`)"
middlewares:
- default-headers
- https-redirectscheme
tls: {}
service: ppkf
#region services
services:
ppkb: # perplexica back
loadBalancer:
servers:
- url: "http://192.168.50.118:53001/"
passHostHeader: true
ppkf: # perplexica front
loadBalancer:
servers:
- url: "http://192.168.50.118:53002/"
passHostHeader: true
#endregion - services
middlewares:
https-redirectscheme:
redirectScheme:
scheme: https
permanent: true
default-headers:
headers:
frameDeny: true
browserXssFilter: true
contentTypeNosniff: true
referrerPolicy: "no-referrer"
forceSTSHeader: true
stsIncludeSubdomains: true
stsPreload: true
stsSeconds: 15552000
customFrameOptionsValue: SAMEORIGIN
customRequestHeaders:
X-Forwarded-Proto: https
default-whitelist:
ipWhiteList:
sourceRange:
- "10.0.0.0/8"
- "192.168.50.0/16" # lan
- "192.168.10.0/16" # web - docker
- "192.168.60.0/16" # proxy - docker
- "172.16.0.0/12"
secured:
chain:
middlewares:
- default-whitelist
- default-headers
searxng-headers:
headers:
customResponseHeaders:
X-Robots-Tag: "noindex, noarchive, nofollow"
Permissions-Policy: "accelerometer=(),ambient-light-sensor=(),autoplay=(),camera=(),encrypted-media=(),focus-without-user-activation=(),geolocation=(),gyroscope=(),magnetometer=(),microphone=(),midi=(),payment=(),picture-in-picture=(),speaker=(),sync-xhr=(),usb=(),vr=()"
With this settings works in http :
But looks stuck in https :
Work in progress ...
Looks like it has error 404 on this : https://ppk.l.d0ge.ovh/discover?_rsc=acgkz
What is this request ? ... discover?_rsc=acgkz
:)
ok found in other threads that HTTPS is not supported now, so please add it later :) ... found on the discord API is coming, so perhaps HTTPS will follow :)
Hello,
It would be nice to have option to install in docker without SearXNG, because some already have it installed.
So i try to do some custon docker compose from the original files. I am pretty close but i have infinite loading screen when i launch UI. Please help to make it run :)
I run this in rocky linux VM and podman.
What i did :
1/ cloned the repo
2/ edited config.toml created API keys and pasted them in the file
3/ created custom docker-compose.yml
docker-compose.yml :
d.env :
RUN TEST : sudo bash /mnt/mydocker/code/go-one.sh
helper script : /mnt/mydocker/code/fx.sh
Code for each container is located in : /mnt/mydocker/code/container-name/docker-compose.yml /mnt/mydocker/code/container-name/... other files
Run files : /mnt/mydocker/code/d.env /mnt/mydocker/code/fx.sh /mnt/mydocker/code/go-one.sh
Perpexica cloned to : /mnt/mydocker/code/net-perplexica /mnt/mydocker/code/net-perplexica/docker-compose.yml # my custom file
When running, data is located in : /mnt/mydocker/appdata/net-perplexica /mnt/mydocker/appdata/net-perplexica/data /mnt/mydocker/appdata/net-perplexica/config.toml
Command to start test on rocky sudo bash /mnt/mydocker/code/go-one.sh
When it starts : I can see web page sayint "Cannot GET /" on this URL : http://192.168.50.118:53001/ So i presume backend API is reachable : LAN : http://192.168.50.118:53001 DOCKER : http://ppkb:3001 or http://192.168.10.73:3001 and frontend : LAN : http://192.168.50.118:53002/ DOCKER : http://ppkf:3000 or http://192.168.10.74:3000
My SearXNG is running and is already used with openwebui on this docker URL http://sxng:8080/search?q=
My Ollama is runnin on a gaming PC in wsl ubuntu and works well with openwebui too on this URL : http://192.168.50.54:11434
The problem i have is i see my perplexica UI but i have loading page forever :
I probably missed something somewhere, please help.
Best regards :)