-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (44 loc) · 1.01 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
version: '3.9'
volumes:
debezium_data:
sqlserver_data:
nats_data:
services:
nats:
# image: nats:2.10.5
image: nats:latest
ports:
- "4222:4222"
volumes:
- nats_data:/nats/data
command:
- "--debug"
- "--http_port=8222"
- "--js"
- "--sd=/nats/data"
sqlserver:
image: mcr.microsoft.com/mssql/server:2019-latest
ports:
- "1433:1433"
command: ["/cmd_wrapper.sh"]
volumes:
- sqlserver_data:/var/opt/mssql
- ./conf/sqlserver/cmd_wrapper.sh:/cmd_wrapper.sh
- ./conf/sqlserver/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d/
environment:
- ACCEPT_EULA=Y
- MSSQL_PID=Standard
- MSSQL_SA_PASSWORD=Password!
- MSSQL_AGENT_ENABLED=true
debezium:
# image: debezium/server:2.4.0.Final
image: debezium/server:latest
ports:
- "8080:8080"
depends_on:
- sqlserver
- nats
restart: always
volumes:
- debezium_data:/debezium/data
- ./conf/debezium:/debezium/conf