-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
docker-compose.yml
48 lines (43 loc) · 1.11 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
version: '3.4'
services:
backend:
container_name: mymeetings_backend
build:
context: ./src/
ports:
- "5000:8080"
networks:
- starfish-crm-network
environment:
- Meetings_MeetingsConnectionString=Server=mymeetingsdb,1433;Database=MyMeetings;User=sa;Password=Test@12345;Encrypt=False;
depends_on:
- migrator
restart: on-failure
mymeetingsdb:
build: ./src/Database/
platform: linux/amd64
ports:
- 1445:1433
networks:
- starfish-crm-network
migrator:
container_name: mymeetings_db_migrator
build:
context: ./src/
dockerfile: ./Database/Dockerfile_DatabaseMigrator
networks:
- starfish-crm-network
environment:
- ASPNETCORE_MyMeetings_IntegrationTests_ConnectionString=Server=mymeetingsdb,1433;Database=MyMeetings;User=sa;Password=Test@12345;Encrypt=False;
command:
[
"./wait-for-it.sh",
"mymeetingsdb:1433",
"--timeout=60",
"--",
"/bin/bash",
"/entrypoint_DatabaseMigrator.sh"
]
restart: on-failure
networks:
starfish-crm-network: