mirror of
https://github.com/mivodev/mivo.git
synced 2026-01-26 05:25:42 +07:00
feat: Implement aaPanel Docker deployment support with new guides and configuration files, including a minor port adjustment in the general Docker README.
This commit is contained in:
@@ -80,7 +80,7 @@ This method follows the standard aaPanel "Quick Install" pattern, using full con
|
||||
|
||||
5. **Setup Reverse Proxy**:
|
||||
* Go to **Website** -> **Add Site** -> **Reverse Proxy**.
|
||||
* Target: `http://127.0.0.1:8080` (Usage of variable `${APP_PORT}` matches this).
|
||||
* Target: `http://127.0.0.1:8085` (Usage of variable `${APP_PORT}` matches this).
|
||||
* Go to **Website** -> **Add Site**.
|
||||
* Enter your domain name (e.g., `mivo.yourdomain.com`).
|
||||
* Select **Reverse Proxy** as the PHP version (or set it up manually afterwards).
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
VERSION=latest
|
||||
CONTAINER_NAME=mivo
|
||||
HOST_IP=0.0.0.0
|
||||
APP_PORT=8080
|
||||
APP_PORT=8085
|
||||
APP_PATH=/www/dk_project/mivo
|
||||
APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
container_name: ${CONTAINER_NAME:-mivo}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${HOST_IP:-0.0.0.0}:${APP_PORT:-8080}:80"
|
||||
- "${HOST_IP:-0.0.0.0}:${APP_PORT:-8085}:80"
|
||||
volumes:
|
||||
# Database & Sessions
|
||||
- ${APP_PATH:-.}/mivo_data:/var/www/html/app/Database
|
||||
|
||||
@@ -17,7 +17,7 @@ Create a new file named `.env` and configure your preferences:
|
||||
VERSION=latest
|
||||
CONTAINER_NAME=mivo
|
||||
HOST_IP=0.0.0.0
|
||||
APP_PORT=8080
|
||||
APP_PORT=8085
|
||||
APP_PATH=/www/dk_project/mivo
|
||||
APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
@@ -50,7 +50,7 @@ services:
|
||||
container_name: ${CONTAINER_NAME:-mivo}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${HOST_IP:-0.0.0.0}:${APP_PORT:-8080}:80"
|
||||
- "${HOST_IP:-0.0.0.0}:${APP_PORT:-8085}:80"
|
||||
volumes:
|
||||
# Database & Sessions
|
||||
- ${APP_PATH:-.}/mivo_data:/var/www/html/app/Database
|
||||
@@ -100,5 +100,5 @@ To access MIVO via a domain (e.g., `mivo.yourdomain.com`):
|
||||
2. Enter your domain name.
|
||||
3. For **PHP Version**, select **Reverse Proxy** (or create as Static and set up proxy later).
|
||||
4. After creation, open the site settings > **Reverse Proxy** > **Add Reverse Proxy**.
|
||||
5. **Target URL**: `http://127.0.0.1:8080` (Replace `8080` with your `APP_PORT`).
|
||||
5. **Target URL**: `http://127.0.0.1:8085` (Replace `8085` with your `APP_PORT`).
|
||||
6. Save and secure with SSL.
|
||||
|
||||
@@ -17,7 +17,7 @@ Buat file baru bernama `.env` (atau simpan teks ini untuk nanti):
|
||||
VERSION=latest
|
||||
CONTAINER_NAME=mivo
|
||||
HOST_IP=0.0.0.0
|
||||
APP_PORT=8080
|
||||
APP_PORT=8085
|
||||
APP_PATH=/www/dk_project/mivo
|
||||
APP_ENV=production
|
||||
APP_DEBUG=false
|
||||
@@ -50,7 +50,7 @@ services:
|
||||
container_name: ${CONTAINER_NAME:-mivo}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${HOST_IP:-0.0.0.0}:${APP_PORT:-8080}:80"
|
||||
- "${HOST_IP:-0.0.0.0}:${APP_PORT:-8085}:80"
|
||||
volumes:
|
||||
# Database & Sessions
|
||||
- ${APP_PATH:-.}/mivo_data:/var/www/html/app/Database
|
||||
@@ -100,5 +100,5 @@ Agar MIVO bisa diakses menggunakan domain (contoh: `mivo.domainanda.com`):
|
||||
2. Masukkan nama domain Anda.
|
||||
3. Pada **PHP Version**, pilih **Static** (atau langsung Reverse Proxy jika ada opsinya).
|
||||
4. Setelah site dibuat, buka settingannya > **Reverse Proxy** > **Add Reverse Proxy**.
|
||||
5. **Target URL**: `http://127.0.0.1:8080` (Ganti `8080` sesuai dengan `APP_PORT` Anda).
|
||||
5. **Target URL**: `http://127.0.0.1:8082` (Ganti `8082` sesuai dengan `APP_PORT` Anda).
|
||||
6. Simpan dan aktifkan SSL agar lebih aman.
|
||||
|
||||
Reference in New Issue
Block a user