Merge pull request #87 from martydingo/docker-compose

Docker compose
This commit is contained in:
Steve Brunton 2021-03-22 22:58:14 -04:00 committed by GitHub
commit 88586cc1cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

1
docker-compose/.env Normal file
View File

@ -0,0 +1 @@
CONFIG_FILE=/config/config.yml

View File

@ -0,0 +1,11 @@
version: "3"
services:
prom_mikrotik_exporter:
image: nshttpd/mikrotik-exporter:1.0.11 # replace version for latest version
volumes:
- './config:/config'
env_file: .env
ports:
- 9436:9436
restart: unless-stopped