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:
Ivan Gabaldon 2024-06-02 21:47:14 +02:00 committed by GitHub
parent 8546bf599b
commit 63f06f5db3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View File

@ -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) | | [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) | | [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 ## How to use it

View File

@ -25,13 +25,13 @@ services:
redis: redis:
container_name: redis container_name: redis
image: cgr.dev/chainguard/valkey:latest image: docker.io/valkey/valkey:7-alpine
command: --save 30 1 --loglevel warning command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped restart: unless-stopped
networks: networks:
- searxng - searxng
volumes: volumes:
- valkey-data:/data - valkey-data2:/data
cap_drop: cap_drop:
- ALL - ALL
cap_add: cap_add:
@ -74,4 +74,4 @@ networks:
volumes: volumes:
caddy-data: caddy-data:
caddy-config: caddy-config:
valkey-data: valkey-data2: