fix: default city-service NATS_URL to dagi-nats

This commit is contained in:
Apple
2025-11-30 06:28:55 -08:00
parent 0640227de0
commit ff4e9dd06b

View File

@@ -15,7 +15,8 @@ from fastapi import WebSocket, WebSocketDisconnect
logger = logging.getLogger(__name__)
# NATS URL
NATS_URL = os.getenv("NATS_URL", "nats://localhost:4222")
# Default to dagi-nats inside the Docker network
NATS_URL = os.getenv("NATS_URL", "nats://dagi-nats:4222")
class GlobalPresenceManager: