-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
88 lines (81 loc) · 2.3 KB
/
docker-compose.dev.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: "3.9"
services:
infinity-net-redis:
image: redis:latest
container_name: infinity-net-redis
volumes:
- infinity-net-redis-data:/data
ports:
- "6379:6379"
networks:
- infinity-net-network
restart: unless-stopped
infinity-net-rabbitmq:
image: rabbitmq:management-alpine
container_name: infinity-net-rabbitmq
command: rabbitmq-server
environment:
RABBITMQ_DEFAULT_USER: infinitynetUser
RABBITMQ_DEFAULT_PASS: Password@123
volumes:
- infinity-net-rabbitmq-data:/var/lib/rabbitmq
ports:
- "5672:5672" # Port for producer & consumer
- "15672:15672" # UI dashboard
networks:
- infinity-net-network
restart: unless-stopped
infinity-net-postgres:
image: postgres:12.20-bullseye
container_name: infinity-net-postgres
environment:
POSTGRES_USER: infinitynetUser
POSTGRES_PASSWORD: Password@123
PGDATA: /var/lib/postgresql/data
ports:
- "5432:5432"
volumes:
- infinity-net-postgres-data:/var/lib/postgresql/data
- ./Docker/postgres/postgres-init-db:/docker-entrypoint-initdb.d:ro
networks:
- infinity-net-network
restart: unless-stopped
infinity-net-mongodb:
image: mongo:latest
container_name: infinity-net-mongodb
environment:
MONGO_INITDB_ROOT_USERNAME: infinitynetUser
MONGO_INITDB_ROOT_PASSWORD: Password@123
volumes:
- infinity-net-mongodb-data:/data/db
- ./Docker/mongodb/init-mongo.sh:/docker-entrypoint-initdb.d/init-mongo.sh
- ./Docker/mongodb/data:/backup
ports:
- "27017:27017"
networks:
- infinity-net-network
restart: unless-stopped
infinity-net-minio:
image: minio/minio:RELEASE.2024-08-26T15-33-07Z.fips
container_name: infinity-net-minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- infinity-net-minio-data:/data:r
environment:
MINIO_ROOT_USER: infinitynetUser
MINIO_ROOT_PASSWORD: Password@123
command: server /data --console-address ":9001"
networks:
- infinity-net-network
restart: unless-stopped
networks:
infinity-net-network:
driver: bridge
volumes:
infinity-net-redis-data:
infinity-net-rabbitmq-data:
infinity-net-postgres-data:
infinity-net-mongodb-data:
infinity-net-minio-data: