generated from CodelyTV/csharp-basic-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathdocker-compose.yml
39 lines (38 loc) · 1.09 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
version: '3.0'
services:
mssql:
container_name: codelytv-chsarp_ddd_skeleton-mssql
image: mcr.microsoft.com/mssql/server:2019-latest
user: root
ports:
- 1433:1433
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Your_password123
- MSSQL_SA_PASSWORD=Your_password123
volumes:
- ./database/init.sql:/init.sql
- ./database/mooc.sql:/mooc.sql
- ./database/backoffice.sql:/backoffice.sql
- ./database/data/data:/var/opt/mssql/data
- ./database/data/log:/var/opt/mssql/log
- ./database/data/secrets:/var/opt/mssql/secrets
rabbitmq:
container_name: codelytv-chsarp_ddd_skeleton-rabbitmq
image: 'rabbitmq:3.7-management'
restart: unless-stopped
ports:
- 5630:5672
- 8090:15672
environment:
- RABBITMQ_DEFAULT_USER=codelytv
- RABBITMQ_DEFAULT_PASS=c0d3ly
elasticsearch:
container_name: codelytv-chsarp_ddd_skeleton-elasticsearch
image: 'elasticsearch:7.9.1'
restart: unless-stopped
ports:
- 9300:9300
- 9200:9200
environment:
- discovery.type=single-node