-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
49 lines (45 loc) · 899 Bytes
/
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
version: "3.8"
services:
redis:
restart: always
image: "redis:alpine"
command: redis-server --requirepass t4H793ZvT6RjsfWE
ports:
- "6379:6379"
volumes:
- "./storage/redis_data:/data"
mysql:
restart: always
image: "mysql:latest"
ports:
- "3306:3306"
volumes:
- "./storage/mysql_data/data:/var/lib/mysql"
env_file:
- ../.env
rabbitmq:
restart: always
image: "masstransit/rabbitmq"
ports:
- "5672:5672"
- "15672:15672"
volumes:
- "./storage/rabbitmq:/var/lib/rabbitmq"
env_file:
- ../.env
mongodb:
restart: always
image: "mongo:bionic"
ports:
- "27017:27017"
volumes:
- "./storage/mongodb_data:/data/db"
env_file:
- ../.env
postgres:
image: postgres
restart: always
ports:
- "5432:5432"
env_file:
- ../.env