-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
56 lines (52 loc) · 1.01 KB
/
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
50
51
52
53
54
55
56
version: "3.8"
services:
redis:
image: redis
container_name: haniot-redis
ports:
- 6379:6379
restart: always
volumes:
- haniot-redis-data:/data
networks:
- haniot-network
logging:
driver: json-file
options:
max-size: 100m
mongo:
image: mongo
container_name: haniot-mongo
ports:
- 27017:27017
restart: always
volumes:
- haniot-mongo-data:/data/db
networks:
- haniot-network
logging:
driver: json-file
options:
max-size: 100m
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: haniot-rabbitmq
restart: always
ports:
- 15672:15672 # Management UI
- 5672:5672 # AMQP Protocol
networks:
- haniot-network
logging:
driver: json-file
options:
max-size: 100m
volumes:
haniot-redis-data:
name: haniot-redis
haniot-mongo-data:
name: haniot-mongo
networks:
haniot-network:
name: haniot-network
driver: bridge