-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
70 lines (62 loc) · 1.97 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Application Configurations
APP_ADDR="127.0.0.1:3000"
APP_NAMESPACE="GoLang_Fiber_App_Template"
APP_MAIL="[email protected]"
CACHE_REQUIRED=1
CLOUD_STORAGE_OBJECT_REQUIRED=1
MAIL_CLIENT_REQUIRED=1
JOB_WORKER_REQUIRED=1
JWT_SECRET="jwt_secret"
JWT_KEY_EXPIRE_MINUTES_COUNT=120
JWT_REFRESH_KEY="jwt_refresh_key"
JWT_REFRESH_KEY_EXPIRE_HOURS_COUNT=24
DB_TYPE="mysql" # Possible Options = ("postgres", "mysql")
CLOUD_OBJECT_STORAGE_TYPE="aws_s3" # Possible Options = ("aws_s3", "gcs")
MAIL_PROVIDER="mailer_send" # Possible Options = ("smtp", "mailer_send")
# Database Configurations (Postgres)
POSTGRES_DB_HOST="127.0.0.1"
POSTGRES_DB_USER="user"
POSTGRES_DB_PASSWORD="password"
POSTGRES_DB_PORT="5432"
POSTGRES_DB_NAME="test_dbr"
POSTGRES_DB_SSL_MODE="require"
POSTGRES_DB_SSL_CERTIFICATE="ca.pem"
# Database Configurations (MySQL)
MYSQL_DB_HOST="127.0.0.1"
MYSQL_DB_USER="user"
MYSQL_DB_PASSWORD="password"
MYSQL_DB_PORT="3306"
MYSQL_DB_NAME="test_db"
# Test Database Configurations (Postgres)
POSTGRES_TEST_DB_HOST="127.0.0.1"
POSTGRES_TEST_DB_USER="user"
POSTGRES_TEST_DB_PASSWORD="password"
POSTGRES_TEST_DB_PORT="5432"
POSTGRES_TEST_DB_NAME="test_dbr"
POSTGRES_TEST_DB_SSL_MODE="require"
POSTGRES_TEST_DB_SSL_CERTIFICATE="ca.pem"
# Test Database Configurations (MySQL)
MYSQL_TEST_DB_HOST="127.0.0.1"
MYSQL_TEST_DB_USER="root"
MYSQL_TEST_DB_PASSWORD="password"
MYSQL_TEST_DB_PORT="3306"
MYSQL_TEST_DB_NAME="testing_db"
# Redis Configurations
REDIS_USER="user"
REDIS_PASSWORD="password"
REDIS_HOST="127.0.0.1"
REDIS_PORT="6379"
REDIS_DB_NUMBER="1"
# Cloud Object Storage Configurations (AWS S3)
AWS_ACCESS_KEY="aws_access_key"
AWS_SECRET_KEY="aws_secret_key"
AWS_S3_ENDPOINT="aws_endpoint"
AWS_REGION="aws_region"
AWS_PROFILE="aws_profile"
# Mail Provider Configurations (Mailer Send)
MAILERSEND_API_KEY="mailer_send_api_key"
# Mail Provider Configurations (SMTP)
SMTP_HOST="smtp.gmail.com"
SMTP_HOST_ADDR="smtp.gmail.com:587"
SMTP_EMAIL_ID="[email protected]"
SMTP_EMAIL_APP_PASSWORD="app-password"