-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
48 lines (44 loc) · 997 Bytes
/
compose.yaml
File metadata and controls
48 lines (44 loc) · 997 Bytes
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
services:
marketapi.api:
image: marketapi.api
build:
context: .
dockerfile: src/Backend/MarketAPI.Api/Dockerfile
depends_on:
- sqlserver
- rabbitmq
- redis
ports:
- "8080:8080"
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: marketapi-sqlserver
restart: unless-stopped
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Your@Password123
ports:
- "1433:1433"
volumes:
- sqlserver_data:/var/opt/mssql
rabbitmq:
image: rabbitmq:3-management
container_name: marketapi-rabbitmq
restart: unless-stopped
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
ports:
- "5672:5672"
- "15672:15672"
redis:
image: redis:alpine
container_name: marketapi-redis
restart: unless-stopped
ports:
- "6379:6379"
volumes:
- redis_data:/data
volumes:
sqlserver_data: {}
redis_data: {}