Update .gitignore
This commit is contained in:
parent
ce593daab9
commit
5075372a61
9 changed files with 208 additions and 19 deletions
53
docker-compose copy 2.yaml
Normal file
53
docker-compose copy 2.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=https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
|
||||
|
||||
perplexica-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend.dockerfile
|
||||
args:
|
||||
SEARXNG_API_URL: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
|
||||
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: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac/api
|
||||
NEXT_PUBLIC_WS_URL: wss://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac
|
||||
depends_on:
|
||||
- perplexica-backend
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3000
|
||||
|
||||
networks:
|
||||
perplexica-network:
|
||||
|
||||
volumes:
|
||||
backend-dbstore:
|
57
docker-compose copy 3.yaml
Normal file
57
docker-compose copy 3.yaml
Normal file
|
@ -0,0 +1,57 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
searxng:
|
||||
image: docker.io/searxng/searxng:latest
|
||||
volumes:
|
||||
- ./config/limiter.toml:/etc/searxng/limiter.toml:ro # Mount limiter.toml
|
||||
ports:
|
||||
- 8080:8080
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASE_URL=https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
|
||||
|
||||
perplexica-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend.dockerfile
|
||||
args:
|
||||
SEARXNG_API_URL: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
|
||||
depends_on:
|
||||
- searxng
|
||||
ports:
|
||||
- 3001:3001
|
||||
volumes:
|
||||
- backend-dbstore:/home/perplexica/data
|
||||
- ./config/config.toml:/app/config.toml:ro # Mount config.toml
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3001
|
||||
- CONFIG_PATH=/app/config.toml
|
||||
|
||||
perplexica-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: app.dockerfile
|
||||
args:
|
||||
NEXT_PUBLIC_API_URL: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac/api
|
||||
NEXT_PUBLIC_WS_URL: wss://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac
|
||||
depends_on:
|
||||
- perplexica-backend
|
||||
ports:
|
||||
- 3000:3000
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3000
|
||||
|
||||
networks:
|
||||
perplexica-network:
|
||||
|
||||
volumes:
|
||||
backend-dbstore:
|
12
docker-compose copy 4.yaml
Normal file
12
docker-compose copy 4.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
searxng:
|
||||
image: searxng/searxng:latest
|
||||
container_name: searxng
|
||||
ports:
|
||||
- '8080:8080'
|
||||
volumes:
|
||||
- ./settings.yml:/searxng/settings.yml
|
||||
- ./limiter.toml:/etc/searxng/limiter.toml
|
||||
restart: always
|
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:
|
|
@ -1,39 +1,46 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
searxng:
|
||||
image: docker.io/searxng/searxng:latest
|
||||
volumes:
|
||||
- ./searxng:/etc/searxng:rw
|
||||
- ./settings.yml:/searxng/settings.yml
|
||||
- ./limiter.toml:/etc/searxng/limiter.toml
|
||||
ports:
|
||||
- 4000:8080
|
||||
- 8080:8080
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASE_URL=https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
|
||||
|
||||
perplexica-backend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: backend.dockerfile
|
||||
args:
|
||||
- SEARXNG_API_URL=http://searxng:8080
|
||||
SEARXNG_API_URL: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
|
||||
depends_on:
|
||||
- searxng
|
||||
ports:
|
||||
- 3001:3001
|
||||
volumes:
|
||||
- backend-dbstore:/home/perplexica/data
|
||||
extra_hosts:
|
||||
- 'host.docker.internal:host-gateway'
|
||||
- ./config/config.toml:/app/config.toml:ro # Mount config.toml
|
||||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3001
|
||||
- CONFIG_PATH=/app/config.toml
|
||||
|
||||
perplexica-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: app.dockerfile
|
||||
args:
|
||||
- NEXT_PUBLIC_API_URL=http://127.0.0.1:3001/api
|
||||
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001
|
||||
NEXT_PUBLIC_API_URL: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac/api
|
||||
NEXT_PUBLIC_WS_URL: wss://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac
|
||||
depends_on:
|
||||
- perplexica-backend
|
||||
ports:
|
||||
|
@ -41,6 +48,8 @@ services:
|
|||
networks:
|
||||
- perplexica-network
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=3000
|
||||
|
||||
networks:
|
||||
perplexica-network:
|
||||
|
|
0
limiter.toml
Normal file
0
limiter.toml
Normal file
|
@ -74,11 +74,11 @@ search:
|
|||
|
||||
server:
|
||||
# Is overwritten by ${SEARXNG_PORT} and ${SEARXNG_BIND_ADDRESS}
|
||||
port: 8888
|
||||
bind_address: '127.0.0.1'
|
||||
port: 8080
|
||||
bind_address: '0.0.0.0'
|
||||
# public URL of the instance, to ensure correct inbound links. Is overwritten
|
||||
# by ${SEARXNG_URL}.
|
||||
base_url: / # "http://example.com/location"
|
||||
base_url: 'https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng'
|
||||
limiter: false # rate limit the number of request on the instance, block some bots
|
||||
public_instance: false # enable features designed only for public instances
|
||||
|
||||
|
@ -87,7 +87,7 @@ server:
|
|||
|
||||
secret_key: 'a2fb23f1b02e6ee83875b09826990de0f6bd908b6638e8c10277d415f6ab852b' # Is overwritten by ${SEARXNG_SECRET}
|
||||
# Proxying image results through searx
|
||||
image_proxy: false
|
||||
image_proxy: true
|
||||
# 1.0 and 1.1 are supported
|
||||
http_protocol_version: '1.0'
|
||||
# POST queries are more secure as they don't show up in history but may cause
|
||||
|
@ -114,11 +114,11 @@ ui:
|
|||
# it decreases the privacy, since the browser can records the page titles.
|
||||
query_in_title: false
|
||||
# infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
|
||||
infinite_scroll: false
|
||||
infinite_scroll: true
|
||||
# ui theme
|
||||
default_theme: simple
|
||||
default_theme: oscar
|
||||
# center the results ?
|
||||
center_alignment: false
|
||||
center_alignment: true
|
||||
# URL prefix of the internet archive, don't forget trailing slash (if needed).
|
||||
# cache_url: "https://webcache.googleusercontent.com/search?q=cache:"
|
||||
# Default interface locale - leave blank to detect from browser information or
|
||||
|
@ -131,7 +131,7 @@ ui:
|
|||
simple_style: auto
|
||||
# Perform search immediately if a category selected.
|
||||
# Disable to select multiple categories at once and start the search manually.
|
||||
search_on_category_select: true
|
||||
search_on_category_select: false
|
||||
# Hotkeys: default or vim
|
||||
hotkeys: default
|
||||
|
||||
|
@ -161,9 +161,9 @@ ui:
|
|||
#
|
||||
outgoing:
|
||||
# default timeout in seconds, can be override by engine
|
||||
request_timeout: 3.0
|
||||
request_timeout: 30.0
|
||||
# the maximum timeout in seconds
|
||||
# max_request_timeout: 10.0
|
||||
max_request_timeout: 60.0
|
||||
# suffix of searx_useragent, could contain information like an email address
|
||||
# to the administrator
|
||||
useragent_suffix: ''
|
||||
|
@ -396,7 +396,7 @@ engines:
|
|||
- name: bing
|
||||
engine: bing
|
||||
shortcut: bi
|
||||
disabled: true
|
||||
disabled: false
|
||||
|
||||
- name: bing images
|
||||
engine: bing_images
|
||||
|
@ -1439,6 +1439,7 @@ engines:
|
|||
categories: [general, web]
|
||||
additional_tests:
|
||||
rosebud: *test_rosebud
|
||||
disabled: true
|
||||
|
||||
- name: qwant news
|
||||
qwant_categ: news
|
||||
|
@ -1446,6 +1447,7 @@ engines:
|
|||
shortcut: qwn
|
||||
categories: news
|
||||
network: qwant
|
||||
disabled: true
|
||||
|
||||
- name: qwant images
|
||||
qwant_categ: images
|
||||
|
@ -1453,6 +1455,7 @@ engines:
|
|||
shortcut: qwi
|
||||
categories: [images, web]
|
||||
network: qwant
|
||||
disabled: true
|
||||
|
||||
- name: qwant videos
|
||||
qwant_categ: videos
|
||||
|
@ -1460,6 +1463,7 @@ engines:
|
|||
shortcut: qwv
|
||||
categories: [videos, web]
|
||||
network: qwant
|
||||
disabled: true
|
||||
|
||||
# - name: library
|
||||
# engine: recoll
|
||||
|
@ -1521,6 +1525,7 @@ engines:
|
|||
- name: soundcloud
|
||||
engine: soundcloud
|
||||
shortcut: sc
|
||||
disabled: true
|
||||
|
||||
- name: stackoverflow
|
||||
engine: stackexchange
|
||||
|
@ -2353,4 +2358,4 @@ doi_resolvers:
|
|||
sci-hub.st: 'https://sci-hub.st/'
|
||||
sci-hub.ru: 'https://sci-hub.ru/'
|
||||
|
||||
default_doi_resolver: 'oadoi.org'
|
||||
default_doi_resolver: 'doi.org'
|
||||
|
|
0
settings.yml
Normal file
0
settings.yml
Normal file
BIN
ui/public/oneme-logo2.png
Normal file
BIN
ui/public/oneme-logo2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 556 KiB |
Loading…
Add table
Reference in a new issue