From ac6ddb3cd09a13c22302aac8c31290040883cb58 Mon Sep 17 00:00:00 2001 From: Schnitzel Date: Sun, 10 Mar 2019 17:49:45 +0100 Subject: [PATCH] explicitely run a single rabbitmq locally as the cluster doesn't start --- Makefile | 2 ++ docker-compose.yaml | 2 +- services/broker-single/Dockerfile | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 services/broker-single/Dockerfile diff --git a/Makefile b/Makefile index 5166b83a1d..fa7a6270d9 100644 --- a/Makefile +++ b/Makefile @@ -336,6 +336,7 @@ services := api \ webhook-handler \ webhooks2tasks \ broker \ + broker-single \ logs-forwarder \ logs-db \ logs-db-ui \ @@ -381,6 +382,7 @@ build/storage-calculator: build/oc build/api-db build/keycloak-db: build/mariadb build/api-db-galera build/keycloak-db-galera: build/mariadb-galera build/broker: build/rabbitmq-cluster +build/broker-single: build/rabbitmq # Auth SSH needs the context of the root folder, so we have it individually build/ssh: build/commons diff --git a/docker-compose.yaml b/docker-compose.yaml index 73b555ef19..64c943571f 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,7 +39,7 @@ services: lagoon.template: services/webhook-handler/.lagoon.app.yml lagoon.image: amazeeiolagoon/webhook-handler:v0-21-2 broker: - image: ${IMAGE_REPO:-lagoon}/broker + image: ${IMAGE_REPO:-lagoon}/broker-single ports: - '15672:15672' - '5672:5672' diff --git a/services/broker-single/Dockerfile b/services/broker-single/Dockerfile new file mode 100644 index 0000000000..263ce3806d --- /dev/null +++ b/services/broker-single/Dockerfile @@ -0,0 +1,2 @@ +ARG IMAGE_REPO +FROM ${IMAGE_REPO:-lagoon}/rabbitmq