-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 893 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3.8'
services:
api:
container_name: "time-tracker-backend_api"
build:
context: .
dockerfile: ./Dockerfile.dev
ports:
- 5000:5000
env_file:
- .env
volumes:
- .:/usr/src/app
depends_on:
- cosmosdb
entrypoint:
- /bin/sh
- ./cosmosdb_emulator/entrypoint.sh
cosmosdb:
container_name: "azurecosmosemulator"
hostname: "azurecosmosemulator"
image: 'mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator'
tty: true
cpu_count: 2
restart: always
mem_limit: 3GB
ports:
- '8081:8081'
- '10251:10251'
- '10252:10252'
- '10253:10253'
- '10254:10254'
environment:
- AZURE_COSMOS_EMULATOR_PARTITION_COUNT=7
- AZURE_COSMOS_EMULATOR_ENABLE_DATA_PERSISTENCE=true
- AZURE_COSMOS_EMULATOR_ARGS=/alternativenames=azurecosmosemulator