Skip to content

Commit b75b79c

Browse files
author
Mehdi BEN ABDALLAH
committed
bind the minimal set of ports by default
1 parent fe33525 commit b75b79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cosmosdb/testcontainers/cosmosdb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(
6767
enable_data_persistence: bool = is_truthy_string(os.getenv("AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE", "false")),
6868
bind_ports: bool = is_truthy_string(os.getenv("AZURE_COSMOS_EMULATOR_BIND_PORTS", "true")),
6969
key: str = os.getenv("AZURE_COSMOS_EMULATOR_KEY", "C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw=="),
70-
endpoints: Iterable[Endpoints] = ALL_ENDPOINTS, # the emulator image does not support host-container port mapping
70+
endpoints: Iterable[Endpoints] = [], # the emulator image does not support host-container port mapping
7171
**docker_client_kw,
7272
):
7373
super().__init__(image=image, **docker_client_kw)

0 commit comments

Comments
 (0)