18 lines
502 B
YAML
18 lines
502 B
YAML
services:
|
|
pihole-exporter:
|
|
profiles: ["monitoring","all","pihole-exporter"]
|
|
image: ekofr/pihole-exporter:latest
|
|
container_name: pihole-exporter
|
|
# env_file:
|
|
# - ${PROJECT_ROOT}/secrets/stack-secrets.env
|
|
environment:
|
|
PIHOLE_HOSTNAME: ${PIHOLE_HOSTNAME}
|
|
PIHOLE_PASSWORD: ${PIHOLE_PASSWORD}
|
|
PORT: ${PIHOLE_EXPORTER_PORT}
|
|
ports:
|
|
- "${PIHOLE_EXPORTER_PORT}:${PIHOLE_EXPORTER_PORT}"
|
|
restart: unless-stopped
|
|
networks:
|
|
# - edge
|
|
- monitor
|