This commit is contained in:
Louis Lam
2023-11-10 18:16:52 +08:00
parent eb6db8b31e
commit a12c6dc033
10 changed files with 69 additions and 1005 deletions

View File

@@ -194,7 +194,7 @@ const template = `version: "3.8"
services:
nginx:
image: nginx:latest
restart: always
restart: unless-stopped
ports:
- "8080:80"
`;
@@ -538,7 +538,7 @@ export default {
}
this.jsonConfig.services[this.newContainerName] = {
restart: "always",
restart: "unless-stopped",
};
this.newContainerName = "";
let element = this.$refs.containerList.lastElementChild;