Skip to content

Commit

Permalink
Replace redis with valkey
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed May 6, 2024
1 parent bc0bc1a commit 3a053ca
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
5 changes: 2 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ POSTGRES_TAG=16-1.33.2
#POSTGRES_TAG=13-1.33.2
#POSTGRES_TAG=12-1.33.2

### --- REDIS ---
### --- VALKEY ---

REDIS_TAG=7-4.4.2
#REDIS_TAG=6-4.4.2
VALKEY_TAG=7-0.1.0

### --- VARNISH ---

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The PHP stack consist of the following containers:
| Crond | | [wodby/php] || |
| [MariaDB] | 11, 10.11, 10.6, 10.5, 10.4 | [wodby/mariadb] |||
| [PostgreSQL] | 16, 15, 14, 13, 12 | [wodby/postgres] || |
| [Redis] | 7, 6 | [wodby/redis] || |
| [Valkey] | 7 | [wodby/valkey] || |
| [Memcached] | 1 | [wodby/memcached] | | |
| [Node.js] | 20, 18 | [wodby/node] | | |
| [Varnish] | 6.0 | [wodby/varnish] | | |
Expand All @@ -48,7 +48,7 @@ Full documentation is available at https://wodby.com/docs/stacks/php/local

Images tags format is `[VERSION]-[STABILITY_TAG]` where:

`[VERSION]` is the _version of an application_ (without patch version) running in a container, e.g. `wodby/nginx:1.15-x.x.x` where Nginx version is `1.15` and `x.x.x` is a stability tag. For some images we include both major and minor version like PHP `7.2`, for others we include only major like Redis `5`.
`[VERSION]` is the _version of an application_ (without patch version) running in a container, e.g. `wodby/nginx:1.15-x.x.x` where Nginx version is `1.15` and `x.x.x` is a stability tag. For some images we include both major and minor version like PHP `7.2`, for others we include only major like Valkey `7`.

`[STABILITY_TAG]` is the _version of an image_ that corresponds to a git tag of the image repository, e.g. `wodby/mariadb:10.2-3.3.8` has MariaDB `10.2` and stability tag [`3.3.8`](https://github.com/wodby/mariadb/releases/tag/3.3.8). New stability tags include patch updates for applications and image's fixes/improvements (new env vars, orchestration actions fixes, etc). Stability tag changes described in the corresponding a git tag description. Stability tags follow [semantic versioning](https://semver.org/).

Expand Down Expand Up @@ -81,7 +81,7 @@ This project is licensed under the MIT open source license.
[OpenSMTPD]: https://wodby.com/docs/stacks/php/containers#opensmtpd
[PHP]: https://wodby.com/docs/stacks/php/containers#php
[PostgreSQL]: https://wodby.com/docs/stacks/php/containers#postgresql
[Redis]: https://wodby.com/docs/stacks/php/containers#redis
[Valkey]: https://wodby.com/docs/stacks/php/containers#valkey
[Rsyslog]: https://wodby.com/docs/stacks/php/containers#rsyslog
[Solr]: https://wodby.com/docs/stacks/solr
[Varnish]: https://wodby.com/docs/stacks/php/containers#varnish
Expand All @@ -103,9 +103,9 @@ This project is licensed under the MIT open source license.
[wodby/opensmtpd]: https://github.com/wodby/opensmtpd
[wodby/php]: https://github.com/wodby/php
[wodby/postgres]: https://github.com/wodby/postgres
[wodby/redis]: https://github.com/wodby/redis
[wodby/rsyslog]: https://hub.docker.com/r/wodby/rsyslog
[wodby/solr]: https://github.com/wodby/solr
[wodby/valkey]: https://github.com/wodby/valkey
[wodby/varnish]: https://github.com/wodby/varnish
[wodby/webgrind]: https://hub.docker.com/r/wodby/webgrind
[wodby/xhprof]: https://hub.docker.com/r/wodby/xhprof
6 changes: 3 additions & 3 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ services:
# - "traefik.http.services.${PROJECT_NAME}_varnish.loadbalancer.server.port=6081"
# - "traefik.http.routers.${PROJECT_NAME}_varnish.rule=Host(`varnish.${PROJECT_BASE_URL}`)"

# redis:
# container_name: "${PROJECT_NAME}_redis"
# image: wodby/redis:$REDIS_TAG
# valkey:
# container_name: "${PROJECT_NAME}_valkey"
# image: wodby/valkey:$VALKEY_TAG

# adminer:
# container_name: "${PROJECT_NAME}_adminer"
Expand Down

0 comments on commit 3a053ca

Please sign in to comment.