Sergey Yaskov
Sergey Yaskov
I am using https://github.com/olipo186/Git-Auto-Deploy, works very well. I believe you can consider this option.
Just in case someone needs this faster, you can set `LaunchOptions.Headless` to `false` and pass the `--headless=new` argument explicitly, see an example [here](https://github.com/yaskovdev/BrowserAudioVideoCapturingService/blob/master/BrowserAudioVideoCapturingService/Program.cs#L71).
Steps to reproduce (on a Windows machine): 1. Run the emulator: `docker run --publish 8081:8081 --publish 10250-10255:10250-10255 --interactive --env AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE=true --tty mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest` 2. Download the certificate: `curl -k https://127.0.0.1:8081/_explorer/emulator.pem >...
Thank you for the suggestion, @changchiyou! I have found a workaround that utilizes the `AZURE_COSMOS_EMULATOR_CERTIFICATE` env variable and allows to preserve at least the certificate between the container runs: ```powershell...
@sajeetharan, please re-open the issue, since the original problem ("AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE flag is not respected") has not been addressed. Tried using the steps to reproduce [from my above comment](https://github.com/Azure/azure-cosmos-db-emulator-docker/issues/96#issuecomment-2111840643), the content...