daswer123 commited on
Commit
42161ff
1 Parent(s): f995f4e

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +19 -0
docker-compose.yml ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: "3.2"
2
+
3
+ services:
4
+ rabbitmq:
5
+ image: rabbitmq:3-management
6
+ container_name: 'rabbitmq-container'
7
+ hostname: rabbitmq
8
+ ports:
9
+ - 5672:5672
10
+ - 15672:15672
11
+ volumes:
12
+ - ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
13
+ - ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
14
+ networks:
15
+ - rabbitmq_go_net
16
+
17
+ networks:
18
+ rabbitmq_go_net:
19
+ driver: bridge