From eb6db8b31e55e55157ae093c5056f01632d8a242 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Tue, 7 Nov 2023 21:22:49 +0800 Subject: [PATCH] wip --- README.md | 4 +--- backend/socket-handlers/docker-socket-handler.ts | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c9f8a0..5bb67c3 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ A fancy, easy-to-use and reactive docker `compose.yaml` stack manager. ## 🔧 How to Install 1. Create a directory `dockge` -1. Create a `compose.yaml` file inside `dockge` with the following content: +2. Create or download [`compose.yaml`](https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml) and put it inside `dockge`: ```yaml version: "3.8" @@ -35,8 +35,6 @@ services: - ./data:/app/data - /var/run/docker.sock:/var/run/docker.sock ``` - -2. `cd ./dockge/` 3. `docker-compose up -d` Dockge is now running on http://localhost:5001 diff --git a/backend/socket-handlers/docker-socket-handler.ts b/backend/socket-handlers/docker-socket-handler.ts index f31b6b8..4df03cd 100644 --- a/backend/socket-handlers/docker-socket-handler.ts +++ b/backend/socket-handlers/docker-socket-handler.ts @@ -16,6 +16,7 @@ export class DockerSocketHandler extends SocketHandler { ok: true, msg: "Deployed", }); + stack.joinCombinedTerminal(socket); } catch (e) { callbackError(e, callback); }