cosmosdb-server
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
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