betulkan port

This commit is contained in:
Saufi
2026-05-26 11:12:22 +08:00
parent c4d825e649
commit 6ca0bd82fd
3 changed files with 11 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
APP_PORT=8000
APP_PORT=8005
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=http://localhost:8000
APP_URL=http://ratemas.apps.mbip.my
DB_PORT=3306
DB_DATABASE=db_cobol

View File

@@ -33,7 +33,13 @@ docker compose --env-file .env.docker up -d --build
Aplikasi boleh dibuka di:
```text
http://localhost:8000
http://ratemas.apps.mbip.my
```
Container expose aplikasi melalui host port `8005`. Reverse proxy untuk domain `ratemas.apps.mbip.my` perlu connect ke:
```text
http://127.0.0.1:8005
```
Untuk jalankan migration dan seeder semasa container start, set:

View File

@@ -6,13 +6,13 @@ services:
container_name: hafiz_tunggakan_app
restart: unless-stopped
ports:
- "${APP_PORT:-8005}:80"
- "${APP_PORT:-8005}:8000"
environment:
APP_NAME: "Hafiz Tunggakan"
APP_ENV: "${APP_ENV:-production}"
APP_KEY: "${APP_KEY:-}"
APP_DEBUG: "${APP_DEBUG:-false}"
APP_URL: "${APP_URL:-http://localhost:8000}"
APP_URL: "http://ratemas.apps.mbip.my"
APP_TIMEZONE: "Asia/Kuala_Lumpur"
APP_LOCALE: "ms"
APP_FALLBACK_LOCALE: "en"