From 3ed3b27661e111c1dc78f753e111ae29cc419aad Mon Sep 17 00:00:00 2001 From: dyzulk <66510723+dyzulk@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:33:57 +0700 Subject: [PATCH] feat: add Docker deployment guides for general use and aaPanel, localized in English and Indonesian. --- docs/guide/docker-aapanel.md | 16 ++++++++++++++++ docs/guide/docker.md | 28 ++++++++++++++++++++++++++++ id/docs/guide/docker-aapanel.md | 16 ++++++++++++++++ id/docs/guide/docker.md | 28 ++++++++++++++++++++++++++++ 4 files changed, 88 insertions(+) diff --git a/docs/guide/docker-aapanel.md b/docs/guide/docker-aapanel.md index 49f9806..8b00a12 100644 --- a/docs/guide/docker-aapanel.md +++ b/docs/guide/docker-aapanel.md @@ -103,3 +103,19 @@ To access MIVO via a domain (e.g., `mivo.yourdomain.com`): 5. **Target URL**: `http://127.0.0.1:8085` (Replace `8085` with your `APP_PORT`). 6. Save and secure with SSL. + +## 5. Updating MIVO + +When a new version is released (e.g. v1.2.3), follow these steps to update your aaPanel container: + +1. Go to **Docker** > **Project**. +2. Find your `mivo` project in the list. +3. Click the **"Rebuild"** or **"Update"** button (depending on aaPanel version). +4. Confirm execution. aaPanel will automatically `git pull` (if linked) or `docker pull` the latest image and restart the service transparently. + +**Alternative (Manual Re-pull):** +If the Rebuild button is missing: +1. Click **Delete** on the project (Don't worry, your data in `/www/dk_project/mivo/mivo_data` is safe!). +2. Click **Add Project** again. +3. Use the exact same settings (Path & YAML). +4. Click **Confirm**. This forces aaPanel to download the fresh `latest` image. diff --git a/docs/guide/docker.md b/docs/guide/docker.md index fa60613..1b83a5f 100644 --- a/docs/guide/docker.md +++ b/docs/guide/docker.md @@ -77,3 +77,31 @@ If you find MIVO useful, please consider supporting its development. Your contri *Created with by MivoDev* + +## Updating MIVO + +To update MIVO to the latest version (e.g. from v1.2.2 to v1.2.3): + +**Using Docker Run:** + +```bash +# 1. Pull the latest image +docker pull mivodev/mivo:latest + +# 2. Stop and remove the old container +docker stop mivo +docker rm mivo + +# 3. Run the new container (use the same command as before) +docker run -d --name mivo -p 8080:80 ... +``` + +**Using Docker Compose:** + +```bash +# 1. Pull the latest image +docker-compose pull + +# 2. Recreate the container +docker-compose up -d +``` diff --git a/id/docs/guide/docker-aapanel.md b/id/docs/guide/docker-aapanel.md index d8439fc..a1be73e 100644 --- a/id/docs/guide/docker-aapanel.md +++ b/id/docs/guide/docker-aapanel.md @@ -103,3 +103,19 @@ Agar MIVO bisa diakses menggunakan domain (contoh: `mivo.domainanda.com`): 5. **Target URL**: `http://127.0.0.1:8085` (Ganti `8085` sesuai dengan `APP_PORT` Anda). 6. Simpan dan aktifkan SSL agar lebih aman. + +## 5. Cara Update MIVO + +Saat versi baru dirilis (misal v1.2.3), ikuti langkah ini untuk update container di aaPanel: + +1. Masuk ke **Docker** > **Project**. +2. Cari project `mivo` Anda dalah daftar. +3. Klik tombol **"Rebuild"** atau **"Update"** (tergantung versi aaPanel). +4. Konfirmasi. aaPanel akan otomatis melakukan `docker pull` untuk image terbaru dan me-restart service Anda. + +**Cara Alternatif (Manual Re-pull):** +Jika tombol Rebuild tidak muncul atau tidak bekerja: +1. Klik **Delete** pada project mivo (Tenang saja, data database Anda di `/www/dk_project/mivo/mivo_data` AMAN dan tidak ikut terhapus). +2. Klik **Add Project** lagi. +3. Gunakan settingan yang SAMA PERSIS (Path & YAML) seperti sebelumnya. +4. Klik **Confirm**. Ini akan memaksa aaPanel untuk mendownload image `latest` yang segar dari server. diff --git a/id/docs/guide/docker.md b/id/docs/guide/docker.md index 407a22e..81c721d 100644 --- a/id/docs/guide/docker.md +++ b/id/docs/guide/docker.md @@ -76,3 +76,31 @@ Jika Anda merasa MIVO bermanfaat, harap pertimbangkan untuk mendukung pengembang --- *Dibuat dengan oleh MivoDev* + +## Cara Update MIVO + +Untuk memperbarui MIVO ke versi terbaru (misal dari v1.2.2 ke v1.2.3): + +**Menggunakan Docker Run:** + +```bash +# 1. Tarik image terbaru +docker pull mivodev/mivo:latest + +# 2. Hentikan dan hapus container lama +docker stop mivo +docker rm mivo + +# 3. Jalankan container baru (gunakan perintah yang sama seperti awal) +docker run -d --name mivo -p 8080:80 ... +``` + +**Menggunakan Docker Compose:** + +```bash +# 1. Tarik image terbaru +docker-compose pull + +# 2. Recreate container +docker-compose up -d +```