SearXNG: updated Redis config
This commit is contained in:
parent
3c014d8987
commit
f6bcf08063
@ -20,3 +20,11 @@
|
||||
owner: 1000
|
||||
group: 1000
|
||||
mode: 0755
|
||||
|
||||
- name: Create redis-data directory
|
||||
ansible.builtin.file:
|
||||
path: "{{ docker_dir }}/paulgo/redis-data"
|
||||
state: directory
|
||||
owner: 999
|
||||
group: 1000
|
||||
mode: 0755
|
||||
|
@ -35,24 +35,24 @@ services:
|
||||
- UWSGI_WORKERS=1
|
||||
- UWSGI_THREADS=16
|
||||
depends_on:
|
||||
- redis
|
||||
- searxng-redis
|
||||
volumes:
|
||||
- {{ docker_dir }}/paulgo/settings.yml:/usr/local/searxng/searx/settings.yml
|
||||
- {{ docker_dir }}/paulgo/donate.md:/usr/local/searxng/searx/infopage/en/donate.md
|
||||
network_mode: host
|
||||
|
||||
redis:
|
||||
container_name: redis
|
||||
image: "redis:alpine"
|
||||
command: redis-server --save "" --appendonly "no"
|
||||
searxng-redis:
|
||||
container_name: searxng-redis
|
||||
image: "docker.io/library/redis:alpine"
|
||||
command: redis-server --save 30 1 --loglevel warning
|
||||
security_opt:
|
||||
- no-new-privileges
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
#- PUID=1000
|
||||
#- PGID=1000
|
||||
- TZ=Asia/Singapore
|
||||
tmpfs:
|
||||
- /var/lib/redis
|
||||
volumes:
|
||||
- {{ docker_dir }}/paulgo/redis-data:/data
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
|
@ -1,5 +1,14 @@
|
||||
config:
|
||||
oracle4:
|
||||
- paulgo
|
||||
|
||||
compose:
|
||||
oracle4:
|
||||
- paulgo
|
||||
|
||||
# ----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
deployed-compose:
|
||||
vultr:
|
||||
- cloudtube
|
||||
|
Loading…
Reference in New Issue
Block a user