betulkan port
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
APP_PORT=8000
|
APP_PORT=8005
|
||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
APP_KEY=
|
APP_KEY=
|
||||||
APP_DEBUG=false
|
APP_DEBUG=false
|
||||||
APP_URL=http://localhost:8000
|
APP_URL=http://ratemas.apps.mbip.my
|
||||||
|
|
||||||
DB_PORT=3306
|
DB_PORT=3306
|
||||||
DB_DATABASE=db_cobol
|
DB_DATABASE=db_cobol
|
||||||
|
|||||||
@@ -33,7 +33,13 @@ docker compose --env-file .env.docker up -d --build
|
|||||||
Aplikasi boleh dibuka di:
|
Aplikasi boleh dibuka di:
|
||||||
|
|
||||||
```text
|
```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:
|
Untuk jalankan migration dan seeder semasa container start, set:
|
||||||
|
|||||||
@@ -6,13 +6,13 @@ services:
|
|||||||
container_name: hafiz_tunggakan_app
|
container_name: hafiz_tunggakan_app
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8005}:80"
|
- "${APP_PORT:-8005}:8000"
|
||||||
environment:
|
environment:
|
||||||
APP_NAME: "Hafiz Tunggakan"
|
APP_NAME: "Hafiz Tunggakan"
|
||||||
APP_ENV: "${APP_ENV:-production}"
|
APP_ENV: "${APP_ENV:-production}"
|
||||||
APP_KEY: "${APP_KEY:-}"
|
APP_KEY: "${APP_KEY:-}"
|
||||||
APP_DEBUG: "${APP_DEBUG:-false}"
|
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_TIMEZONE: "Asia/Kuala_Lumpur"
|
||||||
APP_LOCALE: "ms"
|
APP_LOCALE: "ms"
|
||||||
APP_FALLBACK_LOCALE: "en"
|
APP_FALLBACK_LOCALE: "en"
|
||||||
|
|||||||
Reference in New Issue
Block a user