ignore env

This commit is contained in:
2026-04-22 10:17:36 +07:00
3 changed files with 0 additions and 47 deletions

34
.env
View File

@@ -1,34 +0,0 @@
# AccManager Backend Configuration
# Application
NODE_ENV=production
# Host port exposed by docker compose
APP_PORT=3000
# Image used for server pull deployment
DOCKER_IMAGE=toiiiiday/accmanager:1.1.4
# Container app port
PORT=3000
# SQL Server Configuration
DB_SERVER=172.20.235.176
DB_USER=sa
DB_PASSWORD=robotics@2022
DB_NAME=AccManager
DB_ENCRYPT=false
DB_TRUST_CERTIFICATE=true
DB_CONNECT_TIMEOUT=30000
# Security
BCRYPT_ROUNDS=12
# Email Verification (SMTP)
APP_BASE_URL=https://accrobot.pnkr.asia/
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=robotics.gitlab.2fa@gmail.com
SMTP_PASS=jaljalhreomqruqo
SMTP_FROM=robotics.gitlab.2fa@gmail.com

BIN
.gitignore vendored

Binary file not shown.

View File

@@ -56,20 +56,7 @@ He thong da ho tro xac thuc email cho:
- Dang ky tai khoan moi. - Dang ky tai khoan moi.
- Doi email trong phan ho so ca nhan. - Doi email trong phan ho so ca nhan.
Can cau hinh cac bien moi truong SMTP sau:
- `APP_BASE_URL`: URL truy cap he thong (vi du `http://localhost:3000` hoac domain production).
- `SMTP_HOST`: Host SMTP (vi du `smtp.gmail.com`).
- `SMTP_PORT`: Port SMTP (thuong la `587` cho TLS hoac `465` cho SSL).
- `SMTP_SECURE`: `true` neu dung SSL (port 465), nguoc lai `false`.
- `SMTP_USER`: Tai khoan gui email.
- `SMTP_PASS`: Mat khau app/email.
- `SMTP_FROM`: Dia chi hien thi nguoi gui (co the de trong de dung `SMTP_USER`).
- `EMAIL_VERIFY_TOKEN_TTL_MINUTES`: So phut het han link xac thuc (mac dinh 30).
Neu chua cau hinh SMTP, he thong van tao tai khoan nhung se tra ve link xac thuc dang preview cho moi truong dev.
---
Phiên bản tài liệu: 3.0.0 Phiên bản tài liệu: 3.0.0
Cập nhật: Tháng 4 năm 2026 Cập nhật: Tháng 4 năm 2026