Update .gitignore

This commit is contained in:
Lego4005 2024-06-30 14:25:14 -04:00
parent ce593daab9
commit 5075372a61
9 changed files with 208 additions and 19 deletions

View 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:

View 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:

View 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
View 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:

View file

@ -1,39 +1,46 @@
version: '3.7'
services: services:
searxng: searxng:
image: docker.io/searxng/searxng:latest image: docker.io/searxng/searxng:latest
volumes: volumes:
- ./searxng:/etc/searxng:rw - ./settings.yml:/searxng/settings.yml
- ./limiter.toml:/etc/searxng/limiter.toml
ports: ports:
- 4000:8080 - 8080:8080
networks: networks:
- perplexica-network - perplexica-network
restart: unless-stopped restart: unless-stopped
environment:
- BASE_URL=https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
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: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-searxng
depends_on: depends_on:
- searxng - searxng
ports: ports:
- 3001:3001 - 3001:3001
volumes: volumes:
- backend-dbstore:/home/perplexica/data - backend-dbstore:/home/perplexica/data
extra_hosts: - ./config/config.toml:/app/config.toml:ro # Mount config.toml
- 'host.docker.internal:host-gateway'
networks: networks:
- perplexica-network - perplexica-network
restart: unless-stopped restart: unless-stopped
environment:
- PORT=3001
- CONFIG_PATH=/app/config.toml
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: https://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac/api
- NEXT_PUBLIC_WS_URL=ws://127.0.0.1:3001 NEXT_PUBLIC_WS_URL: wss://clownfish-app-fvz8p.ondigitalocean.app/ghcr-io-lego-4005-perplexica-bac
depends_on: depends_on:
- perplexica-backend - perplexica-backend
ports: ports:
@ -41,6 +48,8 @@ services:
networks: networks:
- perplexica-network - perplexica-network
restart: unless-stopped restart: unless-stopped
environment:
- PORT=3000
networks: networks:
perplexica-network: perplexica-network:

0
limiter.toml Normal file
View file

View file

@ -74,11 +74,11 @@ search:
server: server:
# Is overwritten by ${SEARXNG_PORT} and ${SEARXNG_BIND_ADDRESS} # Is overwritten by ${SEARXNG_PORT} and ${SEARXNG_BIND_ADDRESS}
port: 8888 port: 8080
bind_address: '127.0.0.1' bind_address: '0.0.0.0'
# public URL of the instance, to ensure correct inbound links. Is overwritten # public URL of the instance, to ensure correct inbound links. Is overwritten
# by ${SEARXNG_URL}. # 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 limiter: false # rate limit the number of request on the instance, block some bots
public_instance: false # enable features designed only for public instances public_instance: false # enable features designed only for public instances
@ -87,7 +87,7 @@ server:
secret_key: 'a2fb23f1b02e6ee83875b09826990de0f6bd908b6638e8c10277d415f6ab852b' # Is overwritten by ${SEARXNG_SECRET} secret_key: 'a2fb23f1b02e6ee83875b09826990de0f6bd908b6638e8c10277d415f6ab852b' # Is overwritten by ${SEARXNG_SECRET}
# Proxying image results through searx # Proxying image results through searx
image_proxy: false image_proxy: true
# 1.0 and 1.1 are supported # 1.0 and 1.1 are supported
http_protocol_version: '1.0' http_protocol_version: '1.0'
# POST queries are more secure as they don't show up in history but may cause # 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. # it decreases the privacy, since the browser can records the page titles.
query_in_title: false query_in_title: false
# infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page. # 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 # ui theme
default_theme: simple default_theme: oscar
# center the results ? # center the results ?
center_alignment: false center_alignment: true
# URL prefix of the internet archive, don't forget trailing slash (if needed). # URL prefix of the internet archive, don't forget trailing slash (if needed).
# cache_url: "https://webcache.googleusercontent.com/search?q=cache:" # cache_url: "https://webcache.googleusercontent.com/search?q=cache:"
# Default interface locale - leave blank to detect from browser information or # Default interface locale - leave blank to detect from browser information or
@ -131,7 +131,7 @@ ui:
simple_style: auto simple_style: auto
# Perform search immediately if a category selected. # Perform search immediately if a category selected.
# Disable to select multiple categories at once and start the search manually. # 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 or vim
hotkeys: default hotkeys: default
@ -161,9 +161,9 @@ ui:
# #
outgoing: outgoing:
# default timeout in seconds, can be override by engine # default timeout in seconds, can be override by engine
request_timeout: 3.0 request_timeout: 30.0
# the maximum timeout in seconds # 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 # suffix of searx_useragent, could contain information like an email address
# to the administrator # to the administrator
useragent_suffix: '' useragent_suffix: ''
@ -396,7 +396,7 @@ engines:
- name: bing - name: bing
engine: bing engine: bing
shortcut: bi shortcut: bi
disabled: true disabled: false
- name: bing images - name: bing images
engine: bing_images engine: bing_images
@ -1439,6 +1439,7 @@ engines:
categories: [general, web] categories: [general, web]
additional_tests: additional_tests:
rosebud: *test_rosebud rosebud: *test_rosebud
disabled: true
- name: qwant news - name: qwant news
qwant_categ: news qwant_categ: news
@ -1446,6 +1447,7 @@ engines:
shortcut: qwn shortcut: qwn
categories: news categories: news
network: qwant network: qwant
disabled: true
- name: qwant images - name: qwant images
qwant_categ: images qwant_categ: images
@ -1453,6 +1455,7 @@ engines:
shortcut: qwi shortcut: qwi
categories: [images, web] categories: [images, web]
network: qwant network: qwant
disabled: true
- name: qwant videos - name: qwant videos
qwant_categ: videos qwant_categ: videos
@ -1460,6 +1463,7 @@ engines:
shortcut: qwv shortcut: qwv
categories: [videos, web] categories: [videos, web]
network: qwant network: qwant
disabled: true
# - name: library # - name: library
# engine: recoll # engine: recoll
@ -1521,6 +1525,7 @@ engines:
- name: soundcloud - name: soundcloud
engine: soundcloud engine: soundcloud
shortcut: sc shortcut: sc
disabled: true
- name: stackoverflow - name: stackoverflow
engine: stackexchange engine: stackexchange
@ -2353,4 +2358,4 @@ doi_resolvers:
sci-hub.st: 'https://sci-hub.st/' sci-hub.st: 'https://sci-hub.st/'
sci-hub.ru: 'https://sci-hub.ru/' sci-hub.ru: 'https://sci-hub.ru/'
default_doi_resolver: 'oadoi.org' default_doi_resolver: 'doi.org'

0
settings.yml Normal file
View file

BIN
ui/public/oneme-logo2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB