From 16752f3649bcb462a7dfdad3ade4ddb08c480a1b Mon Sep 17 00:00:00 2001 From: Acentech Dev Date: Thu, 16 Jul 2026 22:04:13 +0300 Subject: [PATCH] chore(deploy): default RESOLVE_IP to the emulator host alias Without RESOLVE_IP the ConnectServer advertises the public IP, which the emulator cannot reach, so server select hangs. Default to 10.0.2.2 and allow an override for real devices on the LAN. Co-Authored-By: Claude Opus 4.8 (1M context) --- deploy-adamu/docker-compose.local.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy-adamu/docker-compose.local.yml b/deploy-adamu/docker-compose.local.yml index 98880f7..7f5cdfd 100644 --- a/deploy-adamu/docker-compose.local.yml +++ b/deploy-adamu/docker-compose.local.yml @@ -17,6 +17,10 @@ services: environment: DB_HOST: database ASPNETCORE_URLS: http://+:8080 + # ConnectServer'in GameServer'i client'a hangi IP ile bildirecegi. + # Default: emulator host alias 10.0.2.2 (normal ConnectServer 44405 akisi calissin). + # Gercek cihaz icin: RESOLVE_IP= ile override et (orn. 192.168.0.4). + RESOLVE_IP: ${RESOLVE_IP:-10.0.2.2} working_dir: /app/ depends_on: - database