-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
65 lines (58 loc) · 1.47 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
65
version: '3.4'
services:
products-db:
image: postgres
restart: always
ports:
- 5432:5432
volumes:
- ~/apps/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=mysecretpassword
- POSTGRES_USER=postgres
basket-db:
image: redis
restart: always
ports:
- 6379:6379
volumes:
- ~/apps/redis:/data
ordering-db:
image: mcr.microsoft.com/mssql/server:2022-latest
user: root
restart: always
ports:
- "1433:1433"
volumes:
- ~/apps/mssql/ordering/data:/var/opt/mssql/data
- ~/apps/mssql/ordering/log:/var/opt/mssql/log
- ~/apps/mssql/ordering/secrets:/var/opt/mssql/secrets
environment:
MSSQL_SA_PASSWORD: "myStrong(!)Password"
ACCEPT_EULA: "Y"
identity-db:
image: mcr.microsoft.com/mssql/server:2022-latest
user: root
restart: always
ports:
- "1432:1433"
volumes:
- ~/apps/mssql/identity/data:/var/opt/mssql/data
- ~/apps/mssql/identity/log:/var/opt/mssql/log
- ~/apps/mssql/identity/secrets:/var/opt/mssql/secrets
environment:
MSSQL_SA_PASSWORD: "myStrong(!)Password"
ACCEPT_EULA: "Y"
elasticsearch:
image: elasticsearch:8.8.0
container_name: elasticsearch
environment:
- discovery.type=single-node
- xpack.security.enabled=false
ports:
- "9200:9200"
- "9300:9300"
nats:
image: nats:2.10.11
ports:
- "4222:4222"