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) <noreply@anthropic.com>
This commit is contained in:
Acentech Dev
2026-07-16 22:04:13 +03:00
parent ef3bffe39c
commit 16752f3649

View File

@@ -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=<PC LAN IP> ile override et (orn. 192.168.0.4).
RESOLVE_IP: ${RESOLVE_IP:-10.0.2.2}
working_dir: /app/
depends_on:
- database