Compare commits

...

6 Commits

Author SHA1 Message Date
c80da05fbb 1.0.85 2019-10-05 15:56:49 +02:00
b9c3475b86 fix(core): update 2019-10-05 15:56:46 +02:00
de2d7e647b 1.0.84 2019-09-24 20:20:37 +02:00
d9348bd016 fix(Image().getVersion()): now returns 0.0.0 for unavailable versions to make SemVer work later on 2019-09-24 20:20:37 +02:00
034fbc3994 1.0.83 2019-09-23 13:52:52 +02:00
a33a6a1f7f fix(core): update 2019-09-23 13:52:52 +02:00
5 changed files with 12 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/docker",
"version": "1.0.82",
"version": "1.0.85",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@mojoio/docker",
"version": "1.0.82",
"version": "1.0.85",
"description": "easy communication with docker remote api from node, TypeScript ready",
"private": false,
"main": "dist/index.js",

View File

@ -140,7 +140,7 @@ export class DockerImage {
if (this.Labels && this.Labels.version) {
return this.Labels.version;
} else {
return 'x.x.x';
return '0.0.0';
}
}
}

View File

@ -29,7 +29,7 @@ export class DockerNetwork {
Name: networkCreationDescriptor.Name,
CheckDuplicate: true,
Driver: 'overlay',
EnableIPv6: true,
EnableIPv6: false,
/* IPAM: {
Driver: 'default',
Config: [

View File

@ -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,