-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
73 lines (68 loc) · 1.69 KB
/
docker-compose.yml
File metadata and controls
73 lines (68 loc) · 1.69 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
services:
cosmos:
image: mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator:vnext-preview
ports:
- "8081:8081"
- "1234:1234"
volumes:
- cosmos-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8081/"]
interval: 10s
timeout: 5s
retries: 10
start_period: 30s
networks:
emulators:
aliases:
- "cosmos"
azurite:
image: mcr.microsoft.com/azure-storage/azurite
ports:
- "10000:10000"
- "10001:10001"
- "10002:10002"
volumes:
- azurite-data:/data
command: "azurite --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0 --skipApiVersionCheck --location /data"
healthcheck:
test: ["CMD", "nc", "-z", "127.0.0.1", "10000"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
networks:
emulators:
aliases:
- "azurite"
sqledge:
image: mcr.microsoft.com/azure-sql-edge:latest
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: ${MSSQL_SA_PASSWORD:?Set MSSQL_SA_PASSWORD in .env}
networks:
emulators:
aliases:
- "sqledge"
servicebus:
image: mcr.microsoft.com/azure-messaging/servicebus-emulator:latest
depends_on:
- sqledge
ports:
- "5672:5672"
- "5300:5300"
volumes:
- ./servicebus-config.json:/ServiceBus_Emulator/ConfigFiles/Config.json
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: ${MSSQL_SA_PASSWORD:?Set MSSQL_SA_PASSWORD in .env}
SQL_SERVER: sqledge
networks:
emulators:
aliases:
- "servicebus"
networks:
emulators:
volumes:
cosmos-data:
azurite-data: