-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (45 loc) · 1.17 KB
/
docker-compose.yaml
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
version: "3.7"
services:
mssql-server:
image: mcr.microsoft.com/mssql/server:2019-latest
container_name: mssql-server
user: root
volumes:
- C:\containers\mssql:/var/opt/mssql/data
ports:
- "1433:1433"
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: ${SQL_PASSWORD}
MSSQL_PID: ${SQL_PID}
networks:
- dev-network
rabbitmq:
# image: rabbitmq:3.11.16-management-alpine
build:
context: .
dockerfile: ./.docker/rabbitmq.dockerfile
container_name: rabbitmq
user: root
ports:
- "5672:5672"
- "15672:15672"
- "25676:25676"
networks:
- dev-network
volumes:
- C:\containers\rabbitmq\data:/var/lib/rabbitmq/
- C:\containers\rabbitmq\log:/var/log/rabbitmq
- C:\containers\rabbitmq\mnesia:/var/lib/rabbitmq/mnesia
environment:
RABBITMQ_DEFAULT_USER: ${RABBITMQ_USERNAME}
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
RABBITMQ_DEFAULT_VHOST: ${RABBITMQ_DEFAULT_VHOST}
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 5s
timeout: 10s
retries: 5
networks:
dev-network:
driver: bridge