-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
45 lines (40 loc) · 959 Bytes
/
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
version: "3.5"
services:
postgres:
container_name: mkt_chat_postgressql_container
image: postgres
hostname: "postgres"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
PGDATA: /var/lib/data/postgres
volumes:
- postgres:/var/lib/data/postgres
ports:
- "5432:5432"
restart: unless-stopped
networks:
- mkt_chat_backend
rabbit:
container_name: mkt_chat_rabbit_container
image: "rabbitmq:3-management"
hostname: "rabbit"
environment:
RABBITMQ_ERLANG_COOKIE: "SWQOKODSQALRPCLNMEQG"
RABBITMQ_DEFAULT_USER: "rabbitmq"
RABBITMQ_DEFAULT_PASS: "rabbitmq"
RABBITMQ_DEFAULT_VHOST: "/"
volumes:
- rabbit:/var/lib/data/rabbitmq
ports:
- "15672:15672"
- "5672:5672"
restart: unless-stopped
networks:
- mkt_chat_backend
volumes:
postgres:
rabbit:
networks:
mkt_chat_backend:
driver: bridge