1
0

feat(redis): update redis versions to latest releases

- update redis 6.2.18 to 6.2.20
- update redis 7.4.4 to 7.4.6
This commit is contained in:
pooneyy
2025-11-02 01:48:37 +08:00
parent 9a1baf812c
commit 7d116bf5f0
8 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,26 @@
networks:
1panel-network:
external: true
services:
redis:
image: redis:7.4.6-alpine
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: >
sh -c '
if [ -z "${REDIS_ROOT_PASSWORD}" ]; then
redis-server /etc/redis/redis.conf
else
redis-server /etc/redis/redis.conf --requirepass ${REDIS_ROOT_PASSWORD}
fi'
volumes:
- ${REDIS_ROOT_PATH}/data:/data
- ${REDIS_ROOT_PATH}/config/redis.conf:/etc/redis/redis.conf
- ${REDIS_ROOT_PATH}/logs:/logs