#--------------------------------------------------------------------
# Example Environment Configuration file
#
# This file can be used as a starting point for your own
# custom .env files, and contains most of the possible settings
# available in a default install.
#
# By default, all of the settings are commented out. If you want
# to override the setting, you must un-comment it by removing the '#'
# at the beginning of the line.
#--------------------------------------------------------------------

#--------------------------------------------------------------------
# ENVIRONMENT
#--------------------------------------------------------------------

# CI_ENVIRONMENT = production
CI_ENVIRONMENT = development

#--------------------------------------------------------------------
# APP
#--------------------------------------------------------------------

app.baseURL = https://alfago.alfateknologi.net
# If you have trouble with `.`, you could also use `_`.
# app_baseURL = 'http://localhost/dev'
   app.forceGlobalSecureRequests = true
# app.CSPEnabled = false
app.title = "Alfa GO"


API_SECRET_KEY=@AlfaGoSuperSecretKey123!

#--------------------------------------------------------------------
# DATABASE
#--------------------------------------------------------------------



database.default.hostname = localhost
database.default.database = alfago
database.default.username = root
database.default.password = ~Pass@Alfa2025
database.default.DBDriver = MySQLi
database.default.DBPrefix =
database.default.port = 3306

# If you use MySQLi as tests, first update the values of Config\Database::$tests.
# database.tests.hostname = localhost
# database.tests.database = ci4_test
# database.tests.username = root
# database.tests.password = root
# database.tests.DBDriver = MySQLi
# database.tests.DBPrefix =
# database.tests.charset = utf8mb4
# database.tests.DBCollat = utf8mb4_general_ci
# database.tests.port = 3306

#--------------------------------------------------------------------
# ENCRYPTION
#--------------------------------------------------------------------

# encryption.key =

#--------------------------------------------------------------------
# SESSION
#--------------------------------------------------------------------

# session.driver = 'CodeIgniter\Session\Handlers\FileHandler'
# session.savePath = writable/session
# session.expiration = 300  # dalam detik (contoh: 300 = 5 menit)
# session.expiration = 3600  # dalam detik (contoh: 3600 = 60 menit)
#--------------------------------------------------------------------
# LOGGER
#--------------------------------------------------------------------

# logger.threshold = 4

PRODUCTION=false
PAYMENT_GATEWAY=MIDTRANS

# Midtrans Payment Gateway
MIDTRANS_SERVER_KEY_DEV=SB-Mid-server-eMxLIJXSg7-Zw7KiB23uMI9V
MIDTRANS_CLIENT_KEY_DEV=SB-Mid-client-yXbFz-I3i5tv4mT3
MIDTRANS_SERVER_KEY_PROD=Mid-server-JTkkf14RvOdwMxYPCFO4C4BN
MIDTRANS_CLIENT_KEY_PROD=Mid-client-th31F6NUUIWoFU9h
MIDTRANS_API_URL_QRIS_DEV=https://api.sandbox.midtrans.com/v2/charge
MIDTRANS_API_URL_QRIS_PROD=https://api.midtrans.com/v2/charge
MIDTRANS_API_URL_PAYMENTLINK_DEV=https://api.sandbox.midtrans.com/v1/payment-links
MIDTRANS_API_URL_PAYMENTLINK_PROD=https://api.midtrans.com/v1/payment-links
MIDTRANS_DURATION_PAYMENT_EXPIRED=10

# WS_URL=http://localhost
WS_PORT=3755
WS_AUTH_KEY=@AlfaGoSuperSecretKey123!
PUSH_ALLOWED_IPS=127.0.0.1,182.9.193.73,103.250.10.30