-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.local.yml
48 lines (42 loc) · 972 Bytes
/
docker-compose.local.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
version: '3'
networks:
backend:
services:
redis:
image: redis
ports:
- "8184:6379"
networks:
- backend
mongo:
image: mongo
ports:
- "8185:27017"
networks:
- backend
rabbitmq:
image: rabbitmq:3-management
#command: /bin/bash -c "rabbitmq-server && rabbitmq-plugins enable rabbitmq_management"
environment:
- RABBITMQ_ERLANG_COOKIE=${RABBITMQ_ERLANG_COOKIE}
- RABBITMQ_DEFAULT_USER=user
- RABBITMQ_DEFAULT_PASS=password
- RABBITMQ_DEFAULT_VHOST=${RABBITMQ_DEFAULT_VHOST}
- RABBITMQ_NODENAME=rabbitmq
#volumes:
# - ./cluster-entrypoint.sh:/usr/local/bin/cluster-entrypoint.sh
hostname: "rabbitmq"
ports:
- "5672:5672"
- "8187:15672" #dashboard
networks:
- backend
postgres:
image: postgres
ports:
- "8189:5432"
networks:
- backend
environment:
POSTGRES_USER: 'user'
POSTGRES_PASSWORD: 'password'