-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
87 lines (75 loc) · 2.4 KB
/
compose.yaml
File metadata and controls
87 lines (75 loc) · 2.4 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "3001:3001"
- "3003:3003"
environment:
- REDIS_NODES=[{"host":"redis-node-1","port":6379},{"host":"redis-node-2","port":6379},{"host":"redis-node-3","port":6379},{"host":"redis-node-4","port":6379},{"host":"redis-node-5","port":6379},{"host":"redis-node-6","port":6379},{"host":"redis-node-7","port":6379},{"host":"redis-node-8","port":6379},{"host":"redis-node-9","port":ou6379}]
- REDIS_NET_MAP={"redis-node-1:6379":{"host":"redis-node-1","port":6379},"redis-node-2:6379":{"host":"redis-node-2","port":6379},"redis-node-3:6379":{"host":"redis-node-3","port":6379},"redis-node-4:6379":{"host":"redis-node-4","port":6379},"redis-node-5:6379":{"host":"redis-node-5","port":6379},"redis-node-6:6379":{"host":"redis-node-6","port":6379},"redis-node-7:6379":{"host":"redis-node-7","port":6379},"redis-node-8:6379":{"host":"redis-node-8","port":6379},"redis-node-9:6379":{"host":"redis-node-9","port":6379}}
- CLIENT_URL=http://localhost:3001/
- NEXT_PUBLIC_CLIENT_URL=http://localhost:3001/
- NEXT_PUBLIC_SERVER_WEBSOCKET=ws://localhost:3003
- NEXT_PUBLIC_ALCHEMY_API_KEY=HGWgCONolXMB2op5UjPH1YreDCwmSbvx
- MONGODB_URI=mongodb://mongodb:27017/BIDDING_BOT
- NEXT_PUBLIC_API_KEY=d3348c68-097d-48b5-b5f0-0313cc05e92d
- NEXT_PUBLIC_RATE_LIMIT=100
depends_on:
- mongodb
- redis-node-1
- redis-node-2
- redis-node-3
- redis-node-4
- redis-node-5
- redis-node-6
- redis-node-7
- redis-node-8
- redis-node-9
mongodb:
image: mongo:latest
container_name: mongodb_container
ports:
- "27017:27017"
volumes:
- mongo_data:/data/db
redis-node-1:
image: redis:latest
ports:
- "8001:6379"
redis-node-2:
image: redis:latest
ports:
- "8002:6379"
redis-node-3:
image: redis:latest
ports:
- "8003:6379"
redis-node-4:
image: redis:latest
ports:
- "8004:6379"
redis-node-5:
image: redis:latest
ports:
- "8005:6379"
redis-node-6:
image: redis:latest
ports:
- "8006:6379"
redis-node-7:
image: redis:latest
ports:
- "8007:6379"
redis-node-8:
image: redis:latest
ports:
- "8008:6379"
redis-node-9:
image: redis:latest
ports:
- "8009:6379"
volumes:
mongo_data: