Adding log limit settings to magneticod and murmur stacks.
This commit is contained in:
parent
955b28b08a
commit
55c689340e
|
@ -3,3 +3,6 @@ MAGNETICO_NEIGHBORS=200
|
|||
MAGNETICO_DATABASE_URL=sqlite3:///data/database.sqlite3
|
||||
|
||||
HOST_USER=0
|
||||
|
||||
LOG_MAX_SIZE=5m
|
||||
LOG_MAX_FILE=5
|
||||
|
|
|
@ -15,3 +15,8 @@ services:
|
|||
user: "${HOST_USER}"
|
||||
restart: unless-stopped
|
||||
command: "-v --indexer-addr=0.0.0.0:${MAGNETICO_PORT} --indexer-max-neighbors=${MAGNETICO_NEIGHBORS} --database=${MAGNETICO_DATABASE_URL}"
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE}"
|
||||
max-file: "${LOG_MAX_FILE}"
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
# see https://cloud.docker.com/repository/docker/skobkin/murmur-official-static
|
||||
MURMUR_HOSTNAME=mumble.skobk.in
|
||||
|
||||
LOG_MAX_SIZE=5m
|
||||
LOG_MAX_FILE=5
|
||||
|
|
|
@ -17,6 +17,11 @@ services:
|
|||
- "/etc/localtime:/etc/localtime:ro"
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE}"
|
||||
max-file: "${LOG_MAX_FILE}"
|
||||
|
||||
volumes:
|
||||
murmur-data:
|
||||
|
|
Loading…
Reference in a new issue