fix(admin-service): use internal IP for MinIO to avoid hairpin NAT

admin-service runs on 192.168.1.222 (LAN). Connecting to MinIO via
public IP 154.84.135.121 fails with ETIMEDOUT (hairpin NAT). Use
internal gateway IP 192.168.1.200:9100 (no SSL) for S3 API calls.
Public download URLs still use https://oss.gogenex.com.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-07 01:20:08 -08:00
parent 0c3ef3b598
commit fa64e1863a
1 changed files with 3 additions and 3 deletions

View File

@ -353,9 +353,9 @@ services:
- DB_USERNAME=genex
- DB_PASSWORD=${DB_PASSWORD}
- DB_NAME=genex
- MINIO_ENDPOINT=oss.gogenex.com # Object storage — https://oss.gogenex.com (gateway server)
- MINIO_PORT=443
- MINIO_USE_SSL=true
- MINIO_ENDPOINT=192.168.1.200 # MinIO on gateway server — internal IP (hairpin NAT: public IP unreachable from LAN)
- MINIO_PORT=9100
- MINIO_USE_SSL=false
- MINIO_ACCESS_KEY=genex-admin
- MINIO_SECRET_KEY=genex-minio-secret
- MINIO_BUCKET=app-releases