new file: .env copy

new file:   internal/config/config.go
add configs .env file and config loader
This commit is contained in:
2026-02-02 04:06:19 +05:00
parent 988416199b
commit 6f2d3156ca
2 changed files with 54 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# DB environment variabels
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=postgres
DB_NAME=mydb
APP_PORT=8080
JWT_SECRET=secret
UPLOAD_PATH=./storage/uploads
ENVIRONMENT=development
LOG_LEVEL=debug
API_ES_APP_PORT=8088