mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-05 08:50:33 +01:00
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? ----
This commit is contained in:
parent
55d5fabbc5
commit
af7761653d
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user