SearXNG: switched to Valkey as database
This commit is contained in:
parent
2476dd1ef0
commit
ab2e1bf87b
@ -21,10 +21,11 @@
|
|||||||
group: 1000
|
group: 1000
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: Create redis-data directory
|
- name: Create valkey-data directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ docker_dir }}/paulgo/redis-data"
|
path: "{{ docker_dir }}/paulgo/valkey-data"
|
||||||
state: directory
|
state: directory
|
||||||
owner: 999
|
owner: 999
|
||||||
group: 1000
|
group: 1000
|
||||||
mode: 0755
|
mode: 0755
|
||||||
|
become: true
|
||||||
|
@ -44,8 +44,9 @@ services:
|
|||||||
|
|
||||||
searxng-redis:
|
searxng-redis:
|
||||||
container_name: searxng-redis
|
container_name: searxng-redis
|
||||||
image: "docker.io/library/redis:alpine"
|
image: docker.io/valkey/valkey:alpine
|
||||||
command: redis-server --save 30 1 --loglevel warning
|
command: valkey-server --save 30 1 --loglevel warning
|
||||||
|
restart: always
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges
|
- no-new-privileges
|
||||||
environment:
|
environment:
|
||||||
@ -53,12 +54,17 @@ services:
|
|||||||
#- PGID=1000
|
#- PGID=1000
|
||||||
- TZ=Asia/Singapore
|
- TZ=Asia/Singapore
|
||||||
volumes:
|
volumes:
|
||||||
- {{ docker_dir }}/paulgo/redis-data:/data
|
- {{ docker_dir }}/paulgo/valkey-data:/data
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
cap_add:
|
cap_add:
|
||||||
- SETGID
|
- SETGID
|
||||||
- SETUID
|
- SETUID
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
|
logging:
|
||||||
|
driver: "json-file"
|
||||||
|
options:
|
||||||
|
max-size: "1m"
|
||||||
|
max-file: "1"
|
||||||
restart: always
|
restart: always
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
config:
|
config:
|
||||||
oracle4:
|
oracle4:
|
||||||
- caddy
|
|
||||||
- paulgo
|
- paulgo
|
||||||
|
|
||||||
compose:
|
compose:
|
||||||
oracle4:
|
oracle4:
|
||||||
- caddy
|
|
||||||
- paulgo
|
- paulgo
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user