-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcompose.deps.yaml
More file actions
46 lines (42 loc) · 1.09 KB
/
compose.deps.yaml
File metadata and controls
46 lines (42 loc) · 1.09 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
name: cohort-manager-deps
services:
azurite:
container_name: azurite
image: mcr.microsoft.com/azure-storage/azurite
command: azurite --silent --skipApiVersionCheck
network_mode: host
azurite-setup:
container_name: azurite-setup
build:
context: ./
dockerfile: ./Set-up/azurite/Dockerfile
network_mode: host
depends_on:
- azurite
environment:
- AZURITE_CONNECTION_STRING=${AZURITE_CONNECTION_STRING}
sql-edge:
container_name: db
network_mode: host
image: mcr.microsoft.com/azure-sql-edge
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=${PASSWORD}
cap_add:
- SYS_PTRACE
healthcheck:
test: [ "CMD-SHELL", "curl -v --silent 127.0.0.1:1433 --stderr - | grep -q 'Empty reply from server'" ]
interval: 15s
timeout: 15s
retries: 5
start_period: 30s
db-setup:
container_name: db-setup
network_mode: host
build: ./Set-up/database
depends_on:
sql-edge:
condition: service_healthy
environment:
- PASSWORD=${PASSWORD}
- DB_NAME=${DB_NAME}