From 1225bc3641bf6d784f56ee7fba2a06e2605eef1b Mon Sep 17 00:00:00 2001 From: "Stephen.James" Date: Tue, 12 Mar 2024 17:18:32 +0000 Subject: [PATCH] Allow make build to run locally without error --- Makefile | 4 +++- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3b3b2f8..baf6dba 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,7 @@ #!make -include .env +ifneq (,$(wildcard ./.env)) + include .env +endif export .DEFAULT_GOAL := help diff --git a/docker-compose.yml b/docker-compose.yml index 04787aa..66e3d38 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,10 +7,10 @@ networks: services: reachability: image: ghcr.io/ministryofjustice/staff-infrastructure-monitoring-app-reachability:main + platform: linux/x86_64 container_name: app-reachability environment: - PROM_USER= # basic auth username for prometheus - PROM_PASS= # basic auth password for prometheus - PROM_TARGET= # full url of http endpoint for monitoring - REMOTE_WRITE_URL= # url for prometheus/thanos remote write - \ No newline at end of file