mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-25 21:18:44 +07:00
feat: add Docker deployment guides for general use and aaPanel, localized in English and Indonesian.
This commit is contained in:
@@ -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. <Icon name="RefreshCw" color="warning" /> 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.
|
||||
|
||||
@@ -77,3 +77,31 @@ If you find MIVO useful, please consider supporting its development. Your contri
|
||||
*Created with <Icon name="Heart" color="danger" /> by MivoDev*
|
||||
|
||||
|
||||
|
||||
## <Icon name="RefreshCw" color="warning" /> 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
|
||||
```
|
||||
|
||||
@@ -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. <Icon name="RefreshCw" color="warning" /> 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.
|
||||
|
||||
@@ -76,3 +76,31 @@ Jika Anda merasa MIVO bermanfaat, harap pertimbangkan untuk mendukung pengembang
|
||||
---
|
||||
*Dibuat dengan <Icon name="Heart" color="danger" /> oleh MivoDev*
|
||||
|
||||
|
||||
## <Icon name="RefreshCw" color="warning" /> 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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user