-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
61 lines (55 loc) · 1.23 KB
/
docker-compose.yaml
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
version: "3.8"
services:
mongodb:
image: mongo
container_name: mongodb
restart: always
ports:
- "27017:27017"
volumes:
- mongodb_data:/data/db
mongo-express:
image: mongo-express
container_name: mongo-express
restart: always
ports:
- "8081:8081"
environment:
- ME_CONFIG_MONGODB_SERVER=mongodb
- ME_CONFIG_BASICAUTH_USERNAME=admin
- ME_CONFIG_BASICAUTH_PASSWORD=password
depends_on:
- mongodb
# mailhog:
# image: mailhog/mailhog
# container_name: mailhog2
# ports:
# - "1025:1025"
# - "8025:8025"
# volumes:
# - mailhog:/var/lib/mailhog
# redis-stack:
# image: redis/redis-stack:latest
# ports:
# - "6379:6379"
# - "8002:8001"
# volumes:
# - redis-stack:/var/lib/redis-stack
# environment:
# - REDIS_ARGS=--save 900 1
# rabbitmq:
# image: rabbitmq:3.8-management
# ports:
# - "5672:5672" # RabbitMQ main port
# - "15672:15672" # RabbitMQ management UI port
# volumes:
# - rabbitmq_data:/var/lib/rabbitmq
volumes:
mongodb_data:
driver: local
# mailhog:
# driver: local
# redis-stack:
# driver: local
# rabbitmq_data:
# driver: local