-
Notifications
You must be signed in to change notification settings - Fork 2
/
init.sh
executable file
·19 lines (15 loc) · 1019 Bytes
/
init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/bash
echo "Starting localstack..."
docker run --platform linux/amd64 -it --rm -d -p 8081:8081 -p 4566-4599:4566-4599 --name lk localstack/localstack
echo "Starting rabbitMQ..."
# Ui available at http://localhost:15672/
# this image doesn't work with MacOs M1 chip. I need a centos based one
# check at https://github.com/CentOS/CentOS-Dockerfiles/tree/master/rabbitmq/centos7
# docker run -it --rm -d -p 15672:15672 -e RABBITMQ_USERNAME=myuser -e RABBIT_MQ_PASSWORD=password --name rb bitnami/rabbitmq
docker run --platform linux/amd64 -it --rm -d -p 5672:5672 -p 15672:15672 -e RABBITMQ_USER=rabbitmq_user -e RABBITMQ_PASS=rabbitmq_password --name rb alessandroargentieri/rabbitmq
echo "Starting activeMQ..."
# UI available at http://localhost:8161/
docker run --platform linux/amd64 -it --rm -d -p 61616:61616 -p 8161:8161 --name acmq rmohr/activemq:5.15.9
# docker run -it --rm -d -p 61616:61616 -p 8161:8161 --name acmq vromero/activemq-artemis
echo "Starting kafka and zookeeper..."
docker-compose up &