-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
37 lines (33 loc) · 918 Bytes
/
docker-compose.yml
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
version: '3.4'
services:
iotcontroltower.api:
image: ${DOCKER_REGISTRY-}iotcontroltowerapi
build:
context: .
dockerfile: IoTControlTower.API/Dockerfile
environment:
- ConnectionStrings__DefaultConnection=Server=sqlserver;Database=IoTControlTowerDB;User=sa;Password=IoTControlTowerDB@2024;Trusted_Connection=False;TrustServerCertificate=True
- ConnectionStringsRedis__Redis=redis:6379
- RabbitMQ__HostName=rabbitmq
- RabbitMQ__UserName=guest
- RabbitMQ__Password=guest
depends_on:
- redis
- sqlserver
- rabbitmq
redis:
image: redis
ports:
- "6379:6379"
sqlserver:
image: mcr.microsoft.com/mssql/server
environment:
SA_PASSWORD: "IoTControlTowerDB@2024"
ACCEPT_EULA: "Y"
ports:
- "1433:1433"
rabbitmq:
image: rabbitmq:3-management
ports:
- "5672:5672"
- "15672:15672"