-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yml
64 lines (59 loc) · 1.32 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
61
62
63
64
version: '3'
services:
db1:
container_name: sqlNode1
image: enriquecatala/sql2017_alwayson_node:latest
hostname:
sqlNode1
domainname:
enriquecatala.com
volumes:
- mssql-server-linux-datadb1:/var/opt/mssql/data/sqlNode1
environment:
MSSQL_SA_PASSWORD: "PaSSw0rd"
ACCEPT_EULA: "Y"
ports:
- "14331:1433"
- "15021:5022"
networks:
- internal
db2:
container_name: sqlNode2
image: enriquecatala/sql2017_alwayson_node:latest
hostname:
sqlNode2
domainname:
enriquecatala.com
volumes:
- mssql-server-linux-datadb2:/var/opt/mssql/data/sqlNode2
environment:
MSSQL_SA_PASSWORD: "PaSSw0rd"
ACCEPT_EULA: "Y"
ports:
- "14332:1433"
- "15022:5022"
networks:
- internal
db3:
container_name: sqlNode3
image: enriquecatala/sql2017_alwayson_node:latest
hostname:
sqlNode3
domainname:
enriquecatala.com
volumes:
- mssql-server-linux-datadb2:/var/opt/mssql/data/sqlNode3
environment:
MSSQL_SA_PASSWORD: "PaSSw0rd"
ACCEPT_EULA: "Y"
ports:
- "14333:1433"
- "15023:5022"
networks:
- internal
volumes:
mssql-server-linux-datadb1:
mssql-server-linux-datadb2:
mssql-server-linux-datadb3:
networks:
internal: