Add NODE_OPTIONS for IPv4-first DNS resolution and set timeout for Google provider in auth options
Build and Push Reader Image / docker (push) Successful in 38s

This commit is contained in:
2026-04-24 01:16:09 +07:00
parent 0be9b5d577
commit d9a6629d31
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -13,6 +13,8 @@ services:
- NEXTAUTH_SECRET=your-super-secret-key
# Sửa thành domain name thực tế bạn đang truy cập
- NEXTAUTH_URL=http://master-02:3003
# Ép IPv4-first để tránh IPv6 Happy Eyeballs timeout khi gọi Google OAuth (OAUTH_CALLBACK_ERROR)
- NODE_OPTIONS=--dns-result-order=ipv4first
- GOOGLE_CLIENT_ID=752734667309-khhufui27coorhmk8gh15epbpbeerg25.apps.googleusercontent.com
- GOOGLE_CLIENT_SECRET=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
volumes: