DONE: add docker config setup for local docker development

This commit is contained in:
ISMAIL MASSERAN
2026-10-04 15:53:05 +08:00
parent 937b892000
commit 8f0e83ee11
10 changed files with 370 additions and 324 deletions
+93
View File
@@ -0,0 +1,93 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:ezY+zzzO7+TOh5WtUG544ffDFNCqNQr4c9/uxFCVywo=
APP_DEBUG=true
APP_URL=http://localhost:8082
APP_PEMBIDA=http://localhost:8080/
API_URL=http://host.docker.internal:8080/
API_URL_KAUNTER=http://host.docker.internal:8081/
API_VERIFY=false
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
# Uses existing api_arrahn-mysql (hostname "mysql" on api_arrahn_default network)
DB_CONNECTION=mysql
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=lelong
DB_USERNAME=root
DB_PASSWORD=root
DB_CONNECTION_MAIN=mysql
DB_HOST_MAIN=mysql
DB_PORT_MAIN=3306
DB_DATABASE_MAIN=erahn_xtra
DB_USERNAME_MAIN=root
DB_PASSWORD_MAIN=root
BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120
SESSION_COOKIE=lelong_session
SESSION_SECURE_COOKIE=false
MEMCACHED_HOST=127.0.0.1
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
MARHUN_CAMERAS="Doccamera"
WABOT_API=https://md.wabot.my/api/send.php
WABOT_INSTANCES_ID=63C26B7AAD21A
WABOT_TOKEN_KEYS=cbee7e95cf3ffbfa0531d5fddfd44f87
# wabot use for blast message to pembida
WABOT_API_SECOND=https://md.wabot.my/api/send.php
WABOT_INSTANCES_ID_SECOND=64892FD7440A6
WABOT_TOKEN_KEYS_SECOND=cbee7e95cf3ffbfa0531d5fddfd44f87
# for config STORAGE_DIRECTORY, set value without slash at the end
# STORAGE_DIRECTORY=/Users/UTM/Sites/lelong/storage
ADMIN_EMAIL="admin_1@example.com,admin_2@example.com"
# fill in phone number for local testing
ADMIN_PHONE_NUMBER=601234566789
ONE_WAY_SMS_USERNAME=apiusername
ONE_WAY_SMS_PASSWORD=apipassword
# required at boot (BillplzService is constructed during package discovery)
BILLPLZ_API_KEY=local-placeholder
BILLPLZ_API_URL=https://www.billplz-sandbox.com/api
BILLPLZ_SANDBOX=true