Replace with official Valkey image (#234)
* replace with official image * use `7-alpine` tag * prevent collision with other volumes * Revert editing README formatting --------- Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
This commit is contained in:
parent
8546bf599b
commit
63f06f5db3
|
@ -8,7 +8,7 @@ Create a new SearXNG instance in five minutes using Docker
|
|||
| -- | -- | -- | -- |
|
||||
| [Caddy](https://github.com/caddyserver/caddy) | Reverse proxy (create a LetsEncrypt certificate automatically) | [docker.io/library/caddy:2-alpine](https://hub.docker.com/_/caddy) | [Dockerfile](https://github.com/caddyserver/caddy-docker/blob/master/Dockerfile.tmpl) |
|
||||
| [SearXNG](https://github.com/searxng/searxng) | SearXNG by itself | [docker.io/searxng/searxng:latest](https://hub.docker.com/r/searxng/searxng) | [Dockerfile](https://github.com/searxng/searxng/blob/master/Dockerfile) |
|
||||
| [Valkey](https://github.com/valkey-io/valkey) | In-memory database | [cgr.dev/chainguard/valkey:latest](https://cgr.dev/chainguard/valkey) | [Valkey-image](https://github.com/chainguard-images/images/tree/main/images/valkey) |
|
||||
| [Valkey](https://github.com/valkey-io/valkey) | In-memory database | [docker.io/valkey/valkey:7-alpine](https://hub.docker.com/r/valkey/valkey) | [Dockerfile](https://github.com/valkey-io/valkey-container/blob/mainline/Dockerfile.template) |
|
||||
|
||||
## How to use it
|
||||
|
||||
|
|
|
@ -25,13 +25,13 @@ services:
|
|||
|
||||
redis:
|
||||
container_name: redis
|
||||
image: cgr.dev/chainguard/valkey:latest
|
||||
command: --save 30 1 --loglevel warning
|
||||
image: docker.io/valkey/valkey:7-alpine
|
||||
command: valkey-server --save 30 1 --loglevel warning
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- searxng
|
||||
volumes:
|
||||
- valkey-data:/data
|
||||
- valkey-data2:/data
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
|
@ -74,4 +74,4 @@ networks:
|
|||
volumes:
|
||||
caddy-data:
|
||||
caddy-config:
|
||||
valkey-data:
|
||||
valkey-data2:
|
||||
|
|
Loading…
Reference in New Issue