.env: use remote database and redis

Signed-off-by: supphakitd <67319010028@technictrang.ac.th>
This commit is contained in:
2025-11-18 09:12:09 +07:00
parent f68c856340
commit c9e519b6e3
2 changed files with 4 additions and 4 deletions

View File

@@ -2,9 +2,9 @@
PJ_NAME=exthernal-mobile-api PJ_NAME=exthernal-mobile-api
# database # database
PG_HOST=localhost PG_HOST=10.9.0.0
PG_USER=postgres PG_USER=postgres
PG_PASS=123456 PG_PASS=ttc@2026
PG_DB=ttc PG_DB=ttc
PG_PORT=5432 PG_PORT=5432
@@ -13,7 +13,7 @@ SMTP_USER=lalisakuty@gmail.com
SMTP_PASS=lurl pckw qugk tzob SMTP_PASS=lurl pckw qugk tzob
# REDIS # REDIS
REDIS_HOST=127.0.0.1 REDIS_HOST=10.9.0.0
REDIS_PORT=6379 REDIS_PORT=6379
OTP_TTL_SECONDS=300 OTP_TTL_SECONDS=300

View File

@@ -13,7 +13,7 @@ SMTP_USER=lalisakuty@gmail.com
SMTP_PASS=lurl pckw qugk tzob SMTP_PASS=lurl pckw qugk tzob
# REDIS # REDIS
REDIS_HOST=127.0.0.1 REDIS_HOST=10.9.0.0
REDIS_PORT=6379 REDIS_PORT=6379
OTP_TTL_SECONDS=300 OTP_TTL_SECONDS=300