Update docker-compose.yml for service configurations
This commit is contained in:
+2
-2
@@ -27,10 +27,10 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:6379:6379"
|
- "127.0.0.1:6379:6379"
|
||||||
volumes:
|
volumes:
|
||||||
- ./redis/conf/redis.conf:/etc/redis.conf:ro
|
- ./redis/conf/redis.conf:/usr/local/etc/redis/redis.conf:ro
|
||||||
- ./redis/data:/data/:rw
|
- ./redis/data:/data/:rw
|
||||||
restart: always
|
restart: always
|
||||||
entrypoint: ["redis-server", "/etc/redis.conf"]
|
entrypoint: ["redis-server", "/usr/local/etc/redis/redis.conf"]
|
||||||
environment:
|
environment:
|
||||||
TZ: "Asia/Shanghai"
|
TZ: "Asia/Shanghai"
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user