ВМ1: реализован сбор логов
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
services:
|
||||
redis:
|
||||
image: ${REDIS_IMAGE:?REDIS_IMAGE must be pinned by digest}
|
||||
labels:
|
||||
com.han.service.name: redis
|
||||
environment:
|
||||
REDIS_MAXMEMORY: ${REDIS_MAXMEMORY:-384mb}
|
||||
REDIS_EVICTION_POLICY: ${REDIS_EVICTION_POLICY:-volatile-lru}
|
||||
@@ -32,7 +34,10 @@ services:
|
||||
nofile: {soft: 65536, hard: 65536}
|
||||
logging:
|
||||
driver: json-file
|
||||
options: {max-size: "50m", max-file: "5"}
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "5"
|
||||
tag: redis
|
||||
|
||||
secrets:
|
||||
redis_api_password:
|
||||
|
||||
Reference in New Issue
Block a user