File tree 4 files changed +32
-0
lines changed
4 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ chmod u+w -R ./var ./vendor ./pub/static ./pub/media ./app/etc \
21
21
--timezone=America/Chicago \
22
22
--use-rewrites=1 \
23
23
--backend-frontname=admin \
24
+ --amqp-host=rabbitmq \
25
+ --amqp-port=5672 \
26
+ --amqp-user=magento\
27
+ --amqp-password=magento \
28
+ --amqp-virtualhost=" /"
24
29
--use-sample-data \
25
30
&& mv ./app/etc/env.php ./app/etc/env.original.php;
26
31
cp -rv /var/www/env.sample.php ./app/etc/env.php;
Original file line number Diff line number Diff line change 49
49
),
50
50
),
51
51
),
52
+ 'queue ' =>
53
+ array (
54
+ 'amqp ' =>
55
+ array (
56
+ 'host ' => 'rabbitmq ' ,
57
+ 'port ' => '5672 ' ,
58
+ 'user ' => 'magento ' ,
59
+ 'password ' => 'magento ' ,
60
+ 'virtualhost ' => '/ ' ,
61
+ 'ssl ' => 'false ' ,
62
+ ),
63
+ ),
52
64
'resource ' =>
53
65
array (
54
66
'default_setup ' =>
Original file line number Diff line number Diff line change @@ -70,6 +70,20 @@ services:
70
70
networks :
71
71
- <project_name>-network
72
72
73
+ rabbitmq :
74
+ image : " rabbitmq:3-management-alpine"
75
+ hostname : " rabbit"
76
+ ports :
77
+ - 15672:15672
78
+ - 5672:5672
79
+ labels :
80
+ name : " rabbitmq"
81
+ environment :
82
+ RABBITMQ_DEFAULT_USER : " magento"
83
+ RABBITMQ_DEFAULT_PASS : " magento"
84
+ networks :
85
+ - <project_name>-network
86
+
73
87
networks :
74
88
<project_name>-network :
75
89
driver : bridge
Original file line number Diff line number Diff line change 11
11
🌎 Web server: http://localhost/
12
12
⚙️ PHPMyAdmin: http://localhost:8080
13
13
✉️ Local emails: http://localhost:8025
14
+ 🐇 RabbitMQ : http://localhost:15672
14
15
15
16
===================== 🚀 Done 🚀 ==================="
You can’t perform that action at this time.
0 commit comments