1
0
mirror of https://github.com/pooneyy/1Panel-Appstore.git synced 2026-03-22 23:39:40 +08:00
1Panel-Appstore/redis/7.4.4/docker-compose.yml
renovate[bot] 5c9e6e1271 chore(deps): update redis docker tag to v7.4.4 (#4030)
* chore(deps): update redis docker tag to v7.4.4

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2025-05-30 15:40:33 +08:00

25 lines
601 B
YAML

services:
redis:
image: redis:7.4.4
restart: always
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:6379
command: >
sh -c '
if [ -z "${PANEL_REDIS_ROOT_PASSWORD}" ]; then
redis-server /etc/redis/redis.conf
else
redis-server /etc/redis/redis.conf --requirepass ${PANEL_REDIS_ROOT_PASSWORD}
fi'
volumes:
- ./data:/data
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true