-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (33 loc) · 997 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
services:
keydb:
image: eqalpha/keydb:latest
container_name: keydb
command: keydb-server /etc/keydb/keydb.conf --appendonly yes
ports:
- "6379:6379"
volumes:
- ./keydb-data:/data # Persist KeyDB data to a local directory in the project root
rediscommander:
image: rediscommander/redis-commander:latest
container_name: redis_commander
ports:
- "8083:8081" # Map Redis Commander to port 8083 on the host
environment:
- REDIS_HOSTS=local:keydb:6379 # Point to the KeyDB service
depends_on:
- keydb
restart: always
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672" # RabbitMQ main port
- "15672:15672" # RabbitMQ management UI port
environment:
RABBITMQ_DEFAULT_USER: user # Default username
RABBITMQ_DEFAULT_PASS: password # Default password
volumes:
- rabbitmq_data:/var/lib/rabbitmq
volumes:
keydb-data:
rabbitmq_data: