-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 1.06 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
services:
rabbitmq:
image: masstransit/rabbitmq:latest
ports:
- "5672:5672"
- "15672:15672"
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "status"]
interval: 10s
timeout: 5s
retries: 5
start_period: 5s
mssql:
image: masstransit/sqlserver-quartz:latest
ports:
- "1433:1433"
healthcheck:
test: [
"CMD-SHELL",
"/opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P 'Quartz!DockerP4ss' -Q 'SELECT 1'"
]
interval: 10s
timeout: 5s
retries: 10
start_period: 20s
quartz:
build:
context: ./src
dockerfile: Dockerfile.quartz
ports:
- "5009:80"
environment:
ASPNETCORE_URLS: "http://+:80"
ConnectionStrings__quartz: "Server=tcp:mssql;Database=quartznet;Persist Security Info=False;User ID=sa;Password=Quartz!DockerP4ss;Encrypt=False;TrustServerCertificate=True;"
RabbitMqTransport__Host: "rabbitmq"
depends_on:
rabbitmq:
condition: service_healthy
mssql:
condition: service_healthy