Skip to content

Commit

Permalink
add docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Anisimov authored and Andrey Anisimov committed May 6, 2021
1 parent 7c38b06 commit 0f41d0e
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
26 changes: 26 additions & 0 deletions www-infra-docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: "3"

services:
db:
image: mysql:5.7
command: --default-authentication-plugin=mysql_native_password
restart: on-failure
environment:
MYSQL_ROOT_PASSWORD: 123
ports:
- "3306:3306"
redis:
image: "redis:alpine"
ports:
- "6379:6379"
environment:
REDIS_PASSWORD: 123
rabbitmq:
image: bitnami/rabbitmq:latest
ports:
- 15672:15672
- 5672:5672
command: sh -c "rabbitmq-plugins enable rabbitmq_management; rabbitmq-server"



1 change: 1 addition & 0 deletions www-infra-docker-compose/rabbit/enabled_plugins
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[rabbitmq_delayed_message_exchange,rabbitmq_management,rabbitmq_management_agent,rabbitmq_web_dispatch].
17 changes: 17 additions & 0 deletions www-infra-docker-compose/rabbit/rabbitmq-isolated.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{rabbit,
[
%% The default "guest" user is only permitted to access the server
%% via a loopback interface (e.g. localhost).
%% {loopback_users, [<<"guest">>]},
%%
%% Uncomment the following line if you want to allow access to the
%% guest user from anywhere on the network.
{loopback_users, []},
{default_vhost, "/"},
{default_user, "guest"},
{default_pass, "guest"},
{default_permissions, [".*", ".*", ".*"]},
{log_levels, [{connection, debug}, {channel, debug}]}
]}
].
Binary file not shown.

0 comments on commit 0f41d0e

Please sign in to comment.