mirror of
https://github.com/louislam/dockge.git
synced 2025-08-13 23:49:12 +02:00
Compare commits
5 Commits
fix-consol
...
1.5.0
Author | SHA1 | Date | |
---|---|---|---|
bac498f97f | |||
3e37f38fc7 | |||
6dff52cc73 | |||
7fcc4c510c | |||
0ceb6336dd |
@ -106,7 +106,7 @@ docker compose pull && docker compose up -d
|
||||
## Motivations
|
||||
|
||||
- I have been using Portainer for some time, but for the stack management, I am sometimes not satisfied with it. For example, sometimes when I try to deploy a stack, the loading icon keeps spinning for a few minutes without progress. And sometimes error messages are not clear.
|
||||
- Try to develop with ES Module + TypeScript (Originally, I planned to use Deno or Bun.js, but they don't have support for arm64, so I stepped back to Node.js)
|
||||
- Try to develop with ES Module + TypeScript
|
||||
|
||||
If you love this project, please consider giving it a ⭐.
|
||||
|
||||
|
@ -311,7 +311,12 @@ export class MainSocketHandler extends SocketHandler {
|
||||
throw new ValidationError("dockerRunCommand must be a string");
|
||||
}
|
||||
|
||||
const composeTemplate = composerize(dockerRunCommand);
|
||||
// Option: 'latest' | 'v2x' | 'v3x'
|
||||
let composeTemplate = composerize(dockerRunCommand, "", "latest");
|
||||
|
||||
// Remove the first line "name: <your project name>"
|
||||
composeTemplate = composeTemplate.split("\n").slice(1).join("\n");
|
||||
|
||||
callback({
|
||||
ok: true,
|
||||
composeTemplate,
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<transition name="slide-fade" appear>
|
||||
<div>
|
||||
<h1 v-if="isAdd" class="mb-3">{{$t("compose")}}</h1>
|
||||
<h1 v-if="isAdd" class="mb-3">{{ $t("compose") }}</h1>
|
||||
<h1 v-else class="mb-3">
|
||||
<Uptime :stack="globalStack" :pill="true" /> {{ stack.name }}
|
||||
<span v-if="$root.agentCount > 1" class="agent-name">
|
||||
@ -150,7 +150,7 @@
|
||||
|
||||
<!-- Combined Terminal Output -->
|
||||
<div v-show="!isEditMode">
|
||||
<h4 class="mb-3">{{$t("terminal")}}</h4>
|
||||
<h4 class="mb-3">{{ $t("terminal") }}</h4>
|
||||
<Terminal
|
||||
ref="combinedTerminal"
|
||||
class="mb-3 terminal"
|
||||
@ -491,6 +491,11 @@ export default {
|
||||
},
|
||||
|
||||
requestServiceStatus() {
|
||||
// Do not request if it is add mode
|
||||
if (this.isAdd) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.$root.emitAgent(this.endpoint, "serviceStatusList", this.stack.name, (res) => {
|
||||
if (res.ok) {
|
||||
this.serviceStatusList = res.serviceStatusList;
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dockge",
|
||||
"version": "1.4.2",
|
||||
"version": "1.5.0",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"node": ">= 22.14.0"
|
||||
|
Reference in New Issue
Block a user