fix(core): update

This commit is contained in:
2019-09-23 13:41:06 +02:00
parent 784bb22511
commit 601d82ea74
4 changed files with 7 additions and 10 deletions

View File

@ -30,7 +30,7 @@ export class DockerNetwork {
CheckDuplicate: true,
Driver: 'overlay',
EnableIPv6: true,
IPAM: {
/* IPAM: {
Driver: 'default',
Config: [
{
@ -39,8 +39,8 @@ export class DockerNetwork {
Gateway: `172.20.${networkCreationDescriptor.NetworkNumber}.11`
}
]
},
Internal: true,
}, */
Internal: false,
Attachable: true,
Ingress: false
});

View File

@ -129,9 +129,9 @@ export class DockerService {
Labels: labels,
Secrets: secretArray,
Mounts: mounts,
DNSConfig: {
/* DNSConfig: {
Nameservers: ['1.1.1.1']
}
} */
},
UpdateConfig: {
Parallelism: 0,

View File

@ -3,5 +3,4 @@
*/
export interface INetworkCreationDescriptor {
Name: string;
NetworkNumber: number;
}