From af7761653d1f941e42b946a82d50453c91461db1 Mon Sep 17 00:00:00 2001 From: Joshua Jackson Date: Wed, 22 Sep 2021 17:43:58 -0700 Subject: [PATCH] add docker-compose.yml examples Why do we need this change? ---- Give a practical docker-compose.yml example to make it easier for people to build and or run within their own compose setups What effects does this change have? ---- --- docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..e52b09c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,19 @@ +version: "3.6" +services: + pihole_exporter: + build: + context: ./ + args: + ARCH: CHANGE_ME + dockerfile: Dockerfile + image: ekofr/pihole-exporter:arm64 + container_name: pihole_exporter + expose: + - 9617 + environment: + PIHOLE_HOSTNAME: CHANG_EME + PIHOLE_PORT: CHANGE_ME + PIHOLE_PASSWORD: CHANGE_ME + INTERVAL: 30s + PORT: 9617 + restart: always