-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.example
29 lines (23 loc) · 1.49 KB
/
env.example
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
# Database and SSH configuration settings for the application.
# Update these values according to your server and database credentials.
# ============================
# Database Settings
# ============================
DB_HOST=127.0.0.1 # Database host, usually 'localhost' or '127.0.0.1' when using an SSH tunnel
DB_USER=your_db_user # Username for connecting to the MySQL database
DB_PASSWORD=your_db_password # Password for the MySQL user
DB_NAME=your_database_name # Name of the MySQL database to connect to
DB_PORT=3306 # MySQL server port, usually 3306
# ============================
# SSH Settings
# ============================
SSH_HOST=your_ssh_host # SSH server hostname or IP address for tunneling to the database server
SSH_PORT=22 # SSH server port; default is 22
SSH_USER=your_ssh_user # SSH username for connecting to the server
SSH_PASSWORD=your_ssh_password # SSH password for the above user (optional if using a private key)
# SSH_PKEY=path_to_private_key_file # Path to your SSH private key file if using key-based authentication
# ============================
# Encryption Settings
# ============================
ENCRYPTION_KEY=your_encryption_key # AES encryption key for securing sensitive data; should be a 32-character hex string
INIT_VECTOR=your_init_vector # Initialization vector (IV) for AES encryption, exactly 16 characters