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:
commit
9d50a54945
2 changed files with 20 additions and 1 deletions
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
|
@ -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
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: CHANGE_ME
|
||||
PIHOLE_PORT: CHANGE_ME
|
||||
PIHOLE_PASSWORD: CHANGE_ME
|
||||
INTERVAL: 30s
|
||||
PORT: 9617
|
||||
restart: always
|
Loading…
Reference in a new issue