services: cosmosdb: image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:latest platform: linux/amd64 container_name: df-test-cosmosdb ports: - "${COSMOS_PORT:-8081}:8081" - "10250:10250" - "10251:10251" - "10252:10252" - "10253:10253" - "10254:10254" environment: AZURE_COSMOS_EMULATOR_PARTITION_COUNT: 10 AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE: "true" AZURE_COSMOS_EMULATOR_IP_ADDRESS_OVERRIDE: "127.0.0.1" healthcheck: test: ["CMD-SHELL", "curl -k https://localhost:8081/_explorer/emulator.pem || exit 1"] interval: 10s timeout: 5s retries: 30 start_period: 60s