diff --git a/ElToroRojo/setup.ps1 b/ElToroRojo/setup.ps1 new file mode 100644 index 0000000..5c583c3 --- /dev/null +++ b/ElToroRojo/setup.ps1 @@ -0,0 +1,4 @@ +docker image pull rabbitmq:3.11-management +docker image build -t incoming.producer -f ./Incoming.Watchdog/Incoming.Producer/Dockerfile ./Incoming.Watchdog/Incoming.Producer +docker image build -t incoming.consumer -f ./Incoming.Watchdog/Incoming.Consumer/Dockerfile ./Incoming.Watchdog/Incoming.Consumer +docker image build -t incoming.api -f ./Incoming.Watchdog/Incoming.Api/Dockerfile ./Incoming.Watchdog/Incoming.Api \ No newline at end of file diff --git a/LaCamisaNegra/setup.ps1 b/LaCamisaNegra/setup.ps1 deleted file mode 100644 index 80459b5..0000000 --- a/LaCamisaNegra/setup.ps1 +++ /dev/null @@ -1,17 +0,0 @@ -#Cleanup -docker volume prune -f -docker network prune -f -docker container rm -f $(docker container ls -aqf label=case=queue) -#docker image rm $(docker image ls -aqf label=case=queue) -#docker image rm rabbitmq:3.11-management - -#Emulate a situation where we've got available images for each element (e.g. provided by nuget feed) -docker image pull rabbitmq:3.11-management -docker image build -t errordb -f ./ErrorDb/Dockerfile ./ErrorDb -docker image build -t itemdb -f ./ItemDb/Dockerfile ./ItemDb -docker image build -t incoming.producer -f ./Incoming.Producer/Dockerfile ./Incoming.Producer -docker image build -t incoming.consumer -f ./Incoming.Consumer/Dockerfile ./Incoming.Consumer -docker image build -t incoming.api -f ./Incoming.Api/Dockerfile ./Incoming.Api - -docker compose up -d -docker image prune -f \ No newline at end of file