fix(core): update
This commit is contained in:
parent
de2d7e647b
commit
b9c3475b86
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user