fix(core): update

This commit is contained in:
Philipp Kunz 2019-10-05 15:56:46 +02:00
parent de2d7e647b
commit b9c3475b86

View File

@ -128,7 +128,7 @@ export class DockerService {
Image: serviceCreationDescriptor.image.RepoTags[0], Image: serviceCreationDescriptor.image.RepoTags[0],
Labels: labels, Labels: labels,
Secrets: secretArray, Secrets: secretArray,
Mounts: mounts, Mounts: mounts
/* DNSConfig: { /* DNSConfig: {
Nameservers: ['1.1.1.1'] Nameservers: ['1.1.1.1']
} */ } */
@ -143,6 +143,13 @@ export class DockerService {
ForceUpdate: 1, ForceUpdate: 1,
Resources: { Resources: {
Limits: limits Limits: limits
},
LogDriver: {
Name: 'json-file',
Options: {
'max-file': '3',
'max-size': '10M'
}
} }
}, },
Labels: labels, Labels: labels,