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:
@@ -17,6 +17,10 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
DB_HOST: database
|
DB_HOST: database
|
||||||
ASPNETCORE_URLS: http://+:8080
|
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/
|
working_dir: /app/
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
|
|||||||
Reference in New Issue
Block a user