-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.db.yml
59 lines (51 loc) · 1.12 KB
/
docker-compose.db.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
version: '3.8'
name: nft-bidding-platform
services:
auth-db:
image: mongo
container_name: auth-db
ports:
- 27015:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: 123456
nft-db:
image: mongo
container_name: nft-db
ports:
- 27018:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: 123456
user-db:
image: mongo
container_name: user-db
ports:
- 27021:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: 123456
inventory-db:
image: mongo
container_name: inventory-db
ports:
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: 123456
payment-db:
image: mongo
container_name: payment-db
ports:
- 27020:27017
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: 123456
redis-db:
image: redis
restart: always
container_name: redis-db
ports:
- 6379:6379
environment:
- REDIS_PASSWORD=123456