Merge pull request #96 from tsunam/master

Update test matrix for supported go versions and add example docker-compose.yml
This commit is contained in:
Vincent Composieux 2021-09-26 00:22:21 +02:00 committed by GitHub
commit 9d50a54945
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 1 deletions

View file

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go_version: [ '1.12', '1.13', '1.14' ]
go_version: [ '1.13', '1.14', '1.15', '1.16', '1.17' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v1

19
docker-compose.yml Normal file
View 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: CHANGE_ME
PIHOLE_PORT: CHANGE_ME
PIHOLE_PASSWORD: CHANGE_ME
INTERVAL: 30s
PORT: 9617
restart: always