47 lines
986 B
Plaintext
47 lines
986 B
Plaintext
APP_NAME="Smart Rack Security"
|
|
APP_ENV=production
|
|
APP_KEY=
|
|
APP_DEBUG=false
|
|
APP_URL=https://your-app.railway.app
|
|
|
|
APP_LOCALE=id
|
|
APP_FALLBACK_LOCALE=id
|
|
APP_FAKER_LOCALE=id_ID
|
|
|
|
LOG_CHANNEL=stack
|
|
LOG_LEVEL=error
|
|
|
|
DB_CONNECTION=mysql
|
|
DB_HOST=
|
|
DB_PORT=3306
|
|
DB_DATABASE=
|
|
DB_USERNAME=
|
|
DB_PASSWORD=
|
|
|
|
SESSION_DRIVER=file
|
|
SESSION_LIFETIME=120
|
|
|
|
CACHE_STORE=file
|
|
QUEUE_CONNECTION=sync
|
|
|
|
BROADCAST_CONNECTION=log
|
|
FILESYSTEM_DISK=local
|
|
|
|
# ============================================================
|
|
# MQTT Configuration (HiveMQ)
|
|
# ============================================================
|
|
MQTT_BROKER=broker.hivemq.com
|
|
MQTT_PORT=1883
|
|
MQTT_USERNAME=
|
|
MQTT_PASSWORD=
|
|
MQTT_REST_API=https://broker.hivemq.com:8888/api/v1
|
|
MQTT_WEBHOOK_SECRET=
|
|
|
|
# MQTT Topics (harus sama dengan yang ada di ESP32)
|
|
MQTT_TOPIC_PIR=keamanan/pir
|
|
MQTT_TOPIC_REED=keamanan/reed
|
|
MQTT_TOPIC_VIBRATION=keamanan/vibration
|
|
MQTT_TOPIC_HEARTBEAT=keamanan/heartbeat
|
|
MQTT_TOPIC_COMMAND=keamanan/command
|
|
MQTT_TOPIC_STATUS=keamanan/status
|