SearXNG: changed compose name
This commit is contained in:
parent
d1ea4ea514
commit
956c94befa
@ -1,29 +1,29 @@
|
|||||||
- name: Generate JWT Secret
|
- name: Generate JWT Secret
|
||||||
command: openssl rand -hex 32
|
command: openssl rand -hex 32
|
||||||
register: paulgo_jwt_secret_result
|
register: searxng_jwt_secret_result
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
paulgo_jwt_secret: "{{ paulgo_jwt_secret_result.stdout }}"
|
searxng_jwt_secret: "{{ searxng_jwt_secret_result.stdout }}"
|
||||||
|
|
||||||
- name: Set up paulgo conf
|
- name: Set up settings.yml
|
||||||
template:
|
template:
|
||||||
src: "conf/settings.yml.j2"
|
src: "conf/settings.yml.j2"
|
||||||
dest: "{{ docker_dir }}/paulgo/settings.yml"
|
dest: "{{ docker_dir }}/searxng/settings.yml"
|
||||||
owner: 1000
|
owner: 1000
|
||||||
group: 1000
|
group: 1000
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: Copy donate.md
|
- name: Copy donate.md
|
||||||
copy:
|
copy:
|
||||||
src: "paulgo/donate.md"
|
src: "searxng/donate.md"
|
||||||
dest: "{{ docker_dir }}/paulgo/donate.md"
|
dest: "{{ docker_dir }}/searxng/donate.md"
|
||||||
owner: 1000
|
owner: 1000
|
||||||
group: 1000
|
group: 1000
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: Create valkey-data directory
|
- name: Create valkey-data directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ docker_dir }}/paulgo/valkey-data"
|
path: "{{ docker_dir }}/searxng/valkey-data"
|
||||||
state: directory
|
state: directory
|
||||||
owner: 999
|
owner: 999
|
||||||
group: 1000
|
group: 1000
|
@ -24,22 +24,14 @@ services:
|
|||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Asia/Singapore
|
- TZ=Asia/Singapore
|
||||||
- LIMITER=true
|
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}
|
||||||
- REDIS_URL=redis://localhost:6379/0
|
|
||||||
- IMAGE_PROXY=true
|
|
||||||
- BASE_URL=https://opnxng.com/
|
|
||||||
- NAME=SearXNG
|
|
||||||
- CONTACT=https://about.opnxng.com/
|
|
||||||
- ISSUE_URL=https://github.com/searxng/searxng/issues
|
|
||||||
- GIT_URL=https://github.com/paulgoio/searxng
|
|
||||||
- GIT_BRANCH=main
|
|
||||||
- UWSGI_WORKERS=1
|
- UWSGI_WORKERS=1
|
||||||
- UWSGI_THREADS=16
|
- UWSGI_THREADS=16
|
||||||
depends_on:
|
depends_on:
|
||||||
- searxng-redis
|
- searxng-redis
|
||||||
volumes:
|
volumes:
|
||||||
- {{ docker_dir }}/paulgo/settings.yml:/usr/local/searxng/searx/settings.yml
|
- {{ docker_dir }}/searxng/settings.yml:/usr/local/searxng/searx/settings.yml
|
||||||
- {{ docker_dir }}/paulgo/donate.md:/usr/local/searxng/searx/infopage/en/donate.md
|
- {{ docker_dir }}/searxng/donate.md:/usr/local/searxng/searx/infopage/en/donate.md
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
|
||||||
searxng-redis:
|
searxng-redis:
|
||||||
@ -54,7 +46,7 @@ services:
|
|||||||
#- PGID=1000
|
#- PGID=1000
|
||||||
- TZ=Asia/Singapore
|
- TZ=Asia/Singapore
|
||||||
volumes:
|
volumes:
|
||||||
- {{ docker_dir }}/paulgo/valkey-data:/data
|
- {{ docker_dir }}/searxng/valkey-data:/data
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
cap_add:
|
cap_add:
|
@ -86,7 +86,7 @@ server:
|
|||||||
|
|
||||||
# If your instance owns a /etc/searxng/settings.yml file, then set the following
|
# If your instance owns a /etc/searxng/settings.yml file, then set the following
|
||||||
# values there.
|
# values there.
|
||||||
secret_key: "{{ paulgo_jwt_secret }}" # Is overwritten by ${SEARXNG_SECRET}
|
secret_key: "{{ searxng_jwt_secret }}" # Is overwritten by ${SEARXNG_SECRET}
|
||||||
# Proxying image results through searx
|
# Proxying image results through searx
|
||||||
image_proxy: true
|
image_proxy: true
|
||||||
# 1.0 and 1.1 are supported
|
# 1.0 and 1.1 are supported
|
||||||
|
@ -1,10 +1,22 @@
|
|||||||
config:
|
|
||||||
oracle3:
|
|
||||||
- gitea
|
|
||||||
|
|
||||||
compose:
|
compose:
|
||||||
|
oracle1:
|
||||||
|
- searxng
|
||||||
|
oracle2:
|
||||||
|
- searxng
|
||||||
oracle3:
|
oracle3:
|
||||||
- gitea
|
- searxng
|
||||||
|
oracle4:
|
||||||
|
- searxng
|
||||||
|
|
||||||
|
config:
|
||||||
|
oracle1:
|
||||||
|
- searxng
|
||||||
|
oracle2:
|
||||||
|
- searxng
|
||||||
|
oracle3:
|
||||||
|
- searxng
|
||||||
|
oracle4:
|
||||||
|
- searxng
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -21,7 +33,7 @@ deployed-compose:
|
|||||||
- send
|
- send
|
||||||
- privatebin
|
- privatebin
|
||||||
####################
|
####################
|
||||||
- paulgo
|
- searxng
|
||||||
- redlib
|
- redlib
|
||||||
- voyager
|
- voyager
|
||||||
- mlmym
|
- mlmym
|
||||||
@ -45,7 +57,7 @@ deployed-compose:
|
|||||||
- firefox
|
- firefox
|
||||||
- wolfree
|
- wolfree
|
||||||
####################
|
####################
|
||||||
- paulgo
|
- searxng
|
||||||
- redlib
|
- redlib
|
||||||
- voyager
|
- voyager
|
||||||
- mlmym
|
- mlmym
|
||||||
@ -72,7 +84,7 @@ deployed-compose:
|
|||||||
- ntfy
|
- ntfy
|
||||||
- breezewiki
|
- breezewiki
|
||||||
####################
|
####################
|
||||||
- paulgo
|
- searxng
|
||||||
- redlib
|
- redlib
|
||||||
- voyager
|
- voyager
|
||||||
- mlmym
|
- mlmym
|
||||||
@ -97,7 +109,7 @@ deployed-compose:
|
|||||||
- authelia
|
- authelia
|
||||||
- geoipupdate
|
- geoipupdate
|
||||||
####################
|
####################
|
||||||
- paulgo
|
- searxng
|
||||||
- redlib
|
- redlib
|
||||||
- voyager
|
- voyager
|
||||||
- mlmym
|
- mlmym
|
||||||
@ -128,13 +140,13 @@ deployed-config:
|
|||||||
- anonymousoverflow
|
- anonymousoverflow
|
||||||
- scribe
|
- scribe
|
||||||
- priviblur
|
- priviblur
|
||||||
- paulgo
|
- searxng
|
||||||
oracle2:
|
oracle2:
|
||||||
- firefox
|
- firefox
|
||||||
- anonymousoverflow
|
- anonymousoverflow
|
||||||
- scribe
|
- scribe
|
||||||
- priviblur
|
- priviblur
|
||||||
- paulgo
|
- searxng
|
||||||
oracle3:
|
oracle3:
|
||||||
- ntfy
|
- ntfy
|
||||||
- gitea
|
- gitea
|
||||||
@ -144,11 +156,11 @@ deployed-config:
|
|||||||
- scribe
|
- scribe
|
||||||
- priviblur
|
- priviblur
|
||||||
- breezewiki
|
- breezewiki
|
||||||
- paulgo
|
- searxng
|
||||||
oracle4:
|
oracle4:
|
||||||
- authelia
|
- authelia
|
||||||
- nitter
|
- nitter
|
||||||
- paulgo
|
- searxng
|
||||||
- caddy
|
- caddy
|
||||||
- anonymousoverflow
|
- anonymousoverflow
|
||||||
- scribe
|
- scribe
|
||||||
|
Loading…
Reference in New Issue
Block a user