From 96b95a77a0b90b78fe5a2e808a829d6cc7c26595 Mon Sep 17 00:00:00 2001 From: Ankan Saha Date: Sat, 14 Mar 2026 04:48:47 +0530 Subject: [PATCH] chore: Update version to 7.19.42-stable across installation scripts and documentation --- INSTALLATION.md | 4 ++-- Scripts/installer.sh | 2 +- VERSION | 2 +- npm/package.json | 2 +- src/Core/main.go | 2 +- src/base/Banner.go | 2 +- src/base/StartContainer.go | 14 ++++++++++++++ 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index c3240fe..f14eb97 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -19,10 +19,10 @@ This is the simplest method for Debian-based systems like Ubuntu, Debian, Linux ```bash # Download the latest .deb release -wget https://github.com/nexoral/ContainDB/releases/download/v7.18.42-stable/containDB_7.18.42-stable_amd64.deb +wget https://github.com/nexoral/ContainDB/releases/download/v7.19.42-stable/containDB_7.19.42-stable_amd64.deb # Install the package -sudo dpkg -i containDB_7.18.42-stable_amd64.deb +sudo dpkg -i containDB_7.19.42-stable_amd64.deb # If you see dependency errors, run: sudo apt-get install -f diff --git a/Scripts/installer.sh b/Scripts/installer.sh index a6b1dbb..f8a3309 100755 --- a/Scripts/installer.sh +++ b/Scripts/installer.sh @@ -7,7 +7,7 @@ ARCH=$(dpkg --print-architecture) echo "Detected architecture: $ARCH" -VERSION="7.18.42-stable" +VERSION="7.19.42-stable" if [[ "$ARCH" == "amd64" ]]; then PKG="containdb_${VERSION}_amd64.deb" diff --git a/VERSION b/VERSION index c7a735e..3211a6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -7.18.42-stable +7.19.42-stable diff --git a/npm/package.json b/npm/package.json index 1baa07d..8b99e64 100644 --- a/npm/package.json +++ b/npm/package.json @@ -1,6 +1,6 @@ { "name": "containdb", - "version": "7.18.42", + "version": "7.19.42", "description": "The Ultimate Docker Database Manager. Automate the creation, management, and monitoring of containerized databases (MongoDB, MySQL, PostgreSQL, Redis) and their GUI tools (Compass, phpMyAdmin, PgAdmin, RedisInsight) with a simple CLI. No complex Docker commands—just productivity.", "bin": { "containdb": "./InstallController.js" diff --git a/src/Core/main.go b/src/Core/main.go index 1dde5f0..9e8bddc 100644 --- a/src/Core/main.go +++ b/src/Core/main.go @@ -11,7 +11,7 @@ import ( ) func main() { - VERSION := "7.18.42-stable" + VERSION := "7.19.42-stable" // handle version flag without requiring sudo if len(os.Args) > 1 && os.Args[1] == "--version" { diff --git a/src/base/Banner.go b/src/base/Banner.go index 2d04d72..54f6be3 100644 --- a/src/base/Banner.go +++ b/src/base/Banner.go @@ -9,7 +9,7 @@ import ( "github.com/fatih/color" ) -const Version = "7.18.42-stable" +const Version = "7.19.42-stable" func ShowBanner() { // Define styles diff --git a/src/base/StartContainer.go b/src/base/StartContainer.go index 634c18b..870d451 100644 --- a/src/base/StartContainer.go +++ b/src/base/StartContainer.go @@ -51,12 +51,26 @@ func StartContainer(database string) { customPort := Docker.AskYesNo("Do you want to use custom host port?") if customPort { hostPort := tools.AskForInput("Enter custom host port", port) + // For axiodb, reject 27019 as it's needed internally + if database == "axiodb" && hostPort == "27019" { + fmt.Println("Port 27019 is reserved for internal use. Please choose a different port.") + hostPort = tools.AskForInput("Enter custom host port", port) + } portMapping = fmt.Sprintf("-p %s:%s", hostPort, port) } else { portMapping = fmt.Sprintf("-p %s:%s", port, port) } } + // For axiodb, automatically add 27019:27019 mapping + if database == "axiodb" { + if portMapping != "" { + portMapping += " -p 27019:27019" + } else { + portMapping = "-p 27019:27019" + } + } + restartFlag := "" if Docker.AskYesNo("Do you want the container to auto-restart on system startup?") { restartFlag = "--restart unless-stopped"