-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (53 loc) · 1.1 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
51
52
53
54
55
56
57
58
59
60
version: "3.9"
networks:
internal:
driver: bridge
volumes:
data:
services:
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
restart: always
volumes:
- ./db-setup:/docker-entrypoint-initdb.d/init.sql
networks:
- internal
environment:
ACCEPT_EULA: Y
SA_PASSWORD: kursPswdsuper1
ports:
- "1433:1433"
setup-db:
image: zhaisanbay/setub-db:2023
networks:
- internal
environment:
- DRIVER=mssql
- CONN_URL=sqlserver://sa:kursPswdsuper1@mssql:1433?database=master&connection+timeout=30
ports:
- "8000:8000"
depends_on:
- mssql
migration:
image: zhaisanbay/migaration-currency:2023_3
networks:
- internal
environment:
- DRIVER=mssql
- CONN_URL=sqlserver://sa:kursPswdsuper1@mssql:1433?database=TEST&connection+timeout=30
ports:
- "4000:4000"
depends_on:
- mssql
- setup-db
web-service:
build: .
restart: always
networks:
- internal
ports:
- "8080:8080"
depends_on:
- mssql
- setup-db
- migration