-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (35 loc) · 1.24 KB
/
.env.example
File metadata and controls
39 lines (35 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#--------------------------------------------------------------------------
# Application Environment & Configuration
#--------------------------------------------------------------------------
#
# APP_ENV: The environment the application is running in. (dev, test, prod)
# APP_NAME: Your application name (used in 2FA QR codes)
# APP_KEY: Secret key for token signing (generate with: openssl rand -base64 32)
#
APP_ENV=dev
APP_NAME="ACE Framework"
APP_KEY=changeme_generate_random_key_here
#--------------------------------------------------------------------------
# Database Configuration
#--------------------------------------------------------------------------
#
# DB_CONNECTION: The default database driver to use (mysql or sqlite).
#
DB_CONNECTION=mysql
# --- MySQL Connection ---
# Master (for writes)
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ace_db
DB_USERNAME=root
DB_PASSWORD=
# Slave (for reads, optional)
# If these are not set, the master connection details will be used for reads.
# DB_HOST_SLAVE=127.0.0.1
# DB_PORT_SLAVE=3306
# DB_DATABASE_SLAVE=ace_db_slave
# DB_USERNAME_SLAVE=root
# DB_PASSWORD_SLAVE=
# --- SQLite Connection ---
# To use SQLite, set DB_CONNECTION=sqlite and provide the path.
# DB_DATABASE_PATH=/path/to/your/database.sqlite