-
Notifications
You must be signed in to change notification settings - Fork 112
/
docker-compose.yml
50 lines (46 loc) · 1.34 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '3.7'
services:
eventreminder.services.api:
image: ${DOCKER_REGISTRY-}eventreminderservicesapi
container_name: EventReminder.Api
build:
context: .
dockerfile: EventReminder.Services.Api/Dockerfile
restart: always
ports:
- 5000:8080
- 5001:8081
environment:
ASPNETCORE_ENVIRONMENT: "Development"
eventreminder.services.notifications:
image: ${DOCKER_REGISTRY-}eventreminderservicesnotifications
container_name: EventReminder.Notifications
build:
context: .
dockerfile: EventReminder.Services.Notifications/Dockerfile
restart: always
ports:
- 6000:8080
- 6001:8081
environment:
ASPNETCORE_ENVIRONMENT: "Development"
event-reminder-db:
image: mcr.microsoft.com/mssql/server:2022-latest
container_name: EventReminder.Db
volumes:
- ./.containers/database:/var/opt/mssql/data
ports:
- "1433:1433"
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "Strong_password_123!"
event-reminder-queue:
image: rabbitmq:management
container_name: EventReminder.Queue
hostname: event-reminder-mq
volumes:
- ./.containers/queue/data/:/var/lib/rabbitmq
- ./.containers/queue/log/:/var/log/rabbitmq
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest