cosmosdb-server icon indicating copy to clipboard operation
cosmosdb-server copied to clipboard

When running cosmosdb-server alongside a azure function in a docker project, the function app wont connect to the server

Open LanPodder opened this issue 2 years ago • 0 comments

This is because the hostname in databaseAccountEndpoint is set to the hostname at startup, however accessing another service in a docker-compose project requires one to connect to the service name as hostname. This can be fixed by setting databaseAccountEndpoint to the host in the requests header

LanPodder avatar Jan 11 '23 00:01 LanPodder