From b9c3475b862969a655f1b9e91ca3241e82e5024d Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 5 Oct 2019 15:56:46 +0200 Subject: [PATCH] fix(core): update --- ts/docker.classes.service.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ts/docker.classes.service.ts b/ts/docker.classes.service.ts index 4d5c9bc..80c0685 100644 --- a/ts/docker.classes.service.ts +++ b/ts/docker.classes.service.ts @@ -128,7 +128,7 @@ export class DockerService { Image: serviceCreationDescriptor.image.RepoTags[0], Labels: labels, Secrets: secretArray, - Mounts: mounts, + Mounts: mounts /* DNSConfig: { Nameservers: ['1.1.1.1'] } */ @@ -143,6 +143,13 @@ export class DockerService { ForceUpdate: 1, Resources: { Limits: limits + }, + LogDriver: { + Name: 'json-file', + Options: { + 'max-file': '3', + 'max-size': '10M' + } } }, Labels: labels,