forked from LaconicNetwork/kompose
Add headless service type label
Also remove the relation between restart and service create
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
version: '2'
|
||||
services:
|
||||
mariadb:
|
||||
labels:
|
||||
kompose.service.type: headless
|
||||
image: 'bitnami/mariadb:latest'
|
||||
volumes:
|
||||
- 'mariadb-data:/bitnami/mariadb'
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
},
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.type": "headless",
|
||||
"kompose.version": "%VERSION%"
|
||||
}
|
||||
},
|
||||
@@ -80,6 +81,7 @@
|
||||
},
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.type": "headless",
|
||||
"kompose.version": "%VERSION%"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
},
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.type": "headless",
|
||||
"kompose.version": "%VERSION%"
|
||||
}
|
||||
},
|
||||
@@ -80,6 +81,7 @@
|
||||
},
|
||||
"annotations": {
|
||||
"kompose.cmd": "%CMD%",
|
||||
"kompose.service.type": "headless",
|
||||
"kompose.version": "%VERSION%"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user