2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 05:07:13 +08:00
Files
templates/redis/docker-compose.yml
2026-01-16 06:31:57 +08:00

16 lines
420 B
YAML

services:
redis:
image: redis:8.4.0-alpine
restart: always
networks:
- acepanel-network
ports:
- ${REDIS_PORT}:6379
command: redis-server /etc/redis/redis.conf ${REDIS_REDIS_ROOT_PASSWORD:+--requirepass "${REDIS_REDIS_ROOT_PASSWORD}"}
volumes:
- ./data:/data
- ./conf/redis.conf:/etc/redis/redis.conf
- ./logs:/logs
networks:
acepanel-network:
external: true