-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
63 lines (55 loc) · 1.19 KB
/
docker-compose.yaml
File metadata and controls
63 lines (55 loc) · 1.19 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
version: '3.8'
services:
mongo1:
image: mongo:4.4
ports:
- "27017:27017"
command: mongod --replSet myReplicaSet --bind_ip localhost,mongo1
container_name: mongo1
networks:
- mongoCluster
mongo2:
image: mongo:4.4
ports:
- "27018:27017"
command: mongod --replSet myReplicaSet --bind_ip localhost,mongo2
container_name: mongo2
networks:
- mongoCluster
mongo3:
image: mongo:4.4
ports:
- "27019:27017"
command: mongod --replSet myReplicaSet --bind_ip localhost,mongo3
container_name: mongo3
networks:
- mongoCluster
yolo5:
image: shirinlabay/yolo5:1.1
ports:
- "8081:8081"
container_name: docker-p
environment:
BUCKET_NAME: shirinlabay-bucket
env_file:
- .env
volumes:
- ~/.aws:/root/.aws
networks:
- mongoCluster
polybot:
image: shirinlabay/poly2:1.1
ports:
- "8443:8443"
environment:
TELEGRAM_APP_URL: presently-loved-polliwog.ngrok-free.app
BUCKET_NAME: shirinlabay-bucket
env_file:
- .env
volumes:
- ~/.aws:/root/.aws
networks:
- mongoCluster
networks:
mongoCluster:
driver: bridge