v1.1 patch - log rotation added
This commit is contained in:
@@ -645,6 +645,8 @@ run_conduit() {
|
|||||||
docker run -d \
|
docker run -d \
|
||||||
--name "$cname" \
|
--name "$cname" \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
|
--log-opt max-size=15m \
|
||||||
|
--log-opt max-file=3 \
|
||||||
-v "${vname}:/home/conduit/data" \
|
-v "${vname}:/home/conduit/data" \
|
||||||
--network host \
|
--network host \
|
||||||
"$CONDUIT_IMAGE" \
|
"$CONDUIT_IMAGE" \
|
||||||
@@ -929,6 +931,8 @@ run_conduit_container() {
|
|||||||
docker run -d \
|
docker run -d \
|
||||||
--name "$name" \
|
--name "$name" \
|
||||||
--restart unless-stopped \
|
--restart unless-stopped \
|
||||||
|
--log-opt max-size=15m \
|
||||||
|
--log-opt max-file=3 \
|
||||||
-v "${vol}:/home/conduit/data" \
|
-v "${vol}:/home/conduit/data" \
|
||||||
--network host \
|
--network host \
|
||||||
"$CONDUIT_IMAGE" \
|
"$CONDUIT_IMAGE" \
|
||||||
|
|||||||
Reference in New Issue
Block a user