Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

rabbitmq docker

docker run -d --name my-rabbit -p 15672:15672 -p 5672:5672 rabbitmq:3-management
Comment

docker rabbitmq

  ###########################
  # RABBITMQ SERVICES
  ###########################
  rabbitmq:
    image: rabbitmq:3-management-alpine
    restart: on-failure
    healthcheck:
      start_period: 60s
      timeout: 120s
      interval: 30s
      test: ifconfig | grep broadcast
    env_file: .env
    environment:
      RABBITMQ_DEFAULT_VHOST: ${RABBITMQ_HOST}
      RABBITMQ_DEFAULT_USER: ${RABBITMQ_USERNAME}
      RABBITMQ_DEFAULT_PASS: ${RABBITMQ_PASSWORD}
    ports:
      - 5672:5672
      - 15672:15672
    volumes:
      - rabbitmq_data:/var/lib/rabbitmq/data
      - rabbitmq_data:/var/log/rabbitmq/log
    networks:
      - node_networks
Comment

run rabbitmq in docker

docker run -d -p 5672:5672 -p 15672:15672  --name rabbitmq 10.2.4.201/rabbitmq
Comment

docker network Rabbitmq

RABBITMQ_NODE_PORT=5672 RABBITMQ_SERVER_START_ARGS="-rabbitmq_management listener [{port,15672}]" RABBITMQ_NODENAME=rabbit rabbitmq-server -detached
RABBITMQ_NODE_PORT=5673 RABBITMQ_SERVER_START_ARGS="-rabbitmq_management listener [{port,15673}]" RABBITMQ_NODENAME=hare rabbitmq-server -detached
RABBITMQ_NODE_PORT=5674 RABBITMQ_SERVER_START_ARGS="-rabbitmq_management listener [{port,15674}]" RABBITMQ_NODENAME=john rabbitmq-server -detached
Comment

PREVIOUS NEXT
Code Example
Shell :: deno install windows 
Shell :: awk and grep in linux for waht 
Shell :: linux scroll terminal 
Shell :: php 7.4 raspberry pi 
Shell :: instalar webmin ubuntu 20.04 
Shell :: linux grep regex return match 
Shell :: extract a tar file in linux 
Shell :: append data to a file with cat command 
Shell :: linux how to execute a file 
Shell :: install clang++ 
Shell :: Check path file exist 
Shell :: install node_modules folder 
Shell :: how to update old branch 
Shell :: sed mac install 
Shell :: bash script cheat sheet 
Shell :: delete file from a branch git 
Shell :: rename a local and remote git branch 
Shell :: giphy slack 
Shell :: how to execute script and pass a parameterin linux 
Shell :: ghost in the shell full movie 
Shell :: bash do-while 
Shell :: batch script comment 
Shell :: git pull in forked repo 
Shell :: ppm to ppb 
Shell :: connection to server at "localhost" (::1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections 
Shell :: bash commands guide 
Shell :: how to start xfce4 sudo command 
Shell :: recursive rename powershell 
Shell :: strg s crashed vim 
Shell :: p10k show on command 
ADD CONTENT
Topic
Content
Source link
Name
7+4 =