fix(docker-service): move swarm service networks into task template and correct service typings
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@apiclient.xyz/docker',
|
||||
version: '5.1.2',
|
||||
version: '5.1.3',
|
||||
description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.'
|
||||
}
|
||||
|
||||
@@ -205,6 +205,7 @@ export class DockerService extends DockerResource {
|
||||
Resources: {
|
||||
Limits: limits,
|
||||
},
|
||||
Networks: networkArray,
|
||||
LogDriver: {
|
||||
Name: 'json-file',
|
||||
Options: {
|
||||
@@ -214,7 +215,6 @@ export class DockerService extends DockerResource {
|
||||
},
|
||||
},
|
||||
Labels: labels,
|
||||
Networks: networkArray,
|
||||
EndpointSpec: {
|
||||
Ports: ports,
|
||||
},
|
||||
@@ -253,9 +253,12 @@ export class DockerService extends DockerResource {
|
||||
}>;
|
||||
};
|
||||
ForceUpdate: 0;
|
||||
Networks: Array<{
|
||||
Target: string;
|
||||
Aliases: string[];
|
||||
}>;
|
||||
};
|
||||
Mode: {};
|
||||
Networks: [any[]];
|
||||
};
|
||||
public Endpoint!: { Spec: {}; VirtualIPs: [any[]] };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user