Files
AdamuSw/deploy-adamu/docker-compose.local.yml
Acentech Dev 16752f3649 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>
2026-07-16 22:04:13 +03:00

42 lines
1.1 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AdamuSw local test deploy (Traefik/Coolify YOK — doğrudan 8080).
# Amaç: kendi-derlenen image'i lokalde postgres ile ayağa kaldırıp doğrulamak.
services:
openmu-startup:
image: adamu-openmu:dev
container_name: adamu-openmu-startup
ports:
- "8080:8080"
- "55901:55901"
- "55902:55902"
- "55903:55903"
- "55904:55904"
- "55905:55905"
- "55906:55906"
- "44405:44405"
- "55980:55980"
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
database:
image: postgres
container_name: adamu-database
environment:
POSTGRES_PASSWORD: admin
POSTGRES_DB: openmu
POSTGRES_USER: postgres
ports:
- "5432"
volumes:
- adamu-dbdata:/var/lib/postgresql
volumes:
adamu-dbdata: