-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
68 lines (61 loc) · 1.68 KB
/
Copy pathcompose.yaml
File metadata and controls
68 lines (61 loc) · 1.68 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
services:
api:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
ASPNETCORE_ENVIRONMENT: "Development"
OTEL_EXPORTER_OTLP_ENDPOINT: "http://jaeger:4317"
Redis__ConnectionString: "redis:6379"
ConnectionStrings__DefaultConnection: "Server=sql,1433;Database=TicketFlow;User Id=sa;Password=TicketFlow!Dev2026;TrustServerCertificate=True;"
RabbitMq__Host: "rabbitmq"
Admin__Email: "${TICKETFLOW_ADMIN_EMAIL}"
Admin__Password: "${TICKETFLOW_ADMIN_PASSWORD}"
depends_on:
sql:
condition: service_healthy
redis:
image: redis:latest
ports:
- "6379:6379"
sql:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: "TicketFlow!Dev2026"
MSSQL_PID: "Developer"
ports:
- "1433:1433"
volumes:
- ticketflow-sql-data:/var/opt/mssql
healthcheck:
test:
[
"CMD-SHELL",
"/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'TicketFlow!Dev2026' -C -Q 'SELECT 1' || exit 1"
]
interval: 5s
timeout: 5s
retries: 10
start_period: 10s
rabbitmq:
image: rabbitmq:management
environment:
ConnectionStrings__RabbitMq: "amqp://ticketflow:TicketFlowRabbit2026@rabbitmq:5672/"
RABBITMQ_DEFAULT_USER: ticketflow
RABBITMQ_DEFAULT_PASS: TicketFlowRabbit2026
ports:
- "5672:5672"
- "15672:15672"
jaeger:
image: jaegertracing/all-in-one:latest
environment:
COLLECTOR_OTLP_ENABLED: "true"
ports:
- "16686:16686"
- "4317:4317"
- "4318:4318"
volumes:
ticketflow-sql-data: