Update docker-compose.yml for service configurations

This commit is contained in:
没人在家请按门铃
2026-06-08 19:47:52 +08:00
committed by GitHub
parent 5d7f61837a
commit 92a2a40404
+2 -2
View File
@@ -27,10 +27,10 @@ services:
ports:
- "127.0.0.1:6379:6379"
volumes:
- ./redis/conf/redis.conf:/etc/redis.conf:ro
- ./redis/conf/redis.conf:/usr/local/etc/redis/redis.conf:ro
- ./redis/data:/data/:rw
restart: always
entrypoint: ["redis-server", "/etc/redis.conf"]
entrypoint: ["redis-server", "/usr/local/etc/redis/redis.conf"]
environment:
TZ: "Asia/Shanghai"
networks: