-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.example
43 lines (37 loc) · 1.19 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Server Configuration
SERVER_PORT="5000"
SERVER_SECRET="your_secret_here"
# release | debug
SERVER_MODE="debug"
SERVER_NAME="your_app_name_here"
# jwt expires after
SERVER_EXPIRES_HOUR=1
# Database Configuration
# mysql | postgres
DATABASE_DRIVER="mysql"
DATABASE_NAME="your_db_name_here"
DATABASE_USERNAME="root"
DATABASE_PASSWORD="root"
# DATABASE_HOST="db" # If you are using Docker, uncomment this and comment the other variable
DATABASE_HOST="localhost"
DATABASE_PORT="3306"
DATABASE_MAX_LIFETIME=7200
DATABASE_MAX_OPEN_CONNS=150
DATABASE_MAX_IDLE_CONNS=50
# Database Test Configuration
# mysql | postgres
DATABASE_TEST_DRIVER="mysql"
DATABASE_TEST_NAME="your_db_name_here_for_testing"
DATABASE_TEST_USERNAME="root"
DATABASE_TEST_PASSWORD="root"
# DATABASE_TEST_HOST="db" # If you are using Docker, uncomment this and comment the other variable
DATABASE_TEST_HOST="localhost"
DATABASE_TEST_PORT="3306"
DATABASE_TEST_MAX_LIFETIME=7200
DATABASE_TEST_MAX_OPEN_CONNS=150
DATABASE_TEST_MAX_IDLE_CONNS=50
# Cloudinary Configuration
CLOUDINARY_CLOUD_NAME="your_cloud_name_here"
CLOUDINARY_API_KEY="your_api_key_here"
CLOUDINARY_API_SECRET="your_api_secret_here"
CLOUDINARY_UPLOAD_FOLDER="your_application_here"