Last active
August 14, 2023 10:33
-
-
Save sajeetharan/5280de9e16acacdb7a0ba41f0148e1dd to your computer and use it in GitHub Desktop.
Deploy emulator linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.4' | |
networks: | |
default: | |
external: false | |
ipam: | |
driver: default | |
config: | |
- subnet: "172.16.238.0/24" | |
services: | |
# First create a directory that will hold the emulator traces and certificate to be imported | |
# mkdir /data/db | |
cosmosdb: | |
container_name: "azurecosmosemulator" | |
hostname: "azurecosmosemulator" | |
image: 'mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator' | |
platform: linux | |
tty: true | |
ports: | |
- '8081:8081' | |
- '8900:8900' | |
- '8901:8901' | |
- '8902:8902' | |
- '10250:10250' | |
- '10251:10251' | |
- '10252:10252' | |
- '10253:10253' | |
- '10254:10254' | |
- '10255:10255' | |
- '10256:10256' | |
- '10350:10350' | |
networks: | |
default: | |
ipv4_address: 172.16.238.246 | |
volumes: | |
- type: bind | |
source: /data/db | |
target: /data/db | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment