SuperQ / smokeping_prober

Prometheus style smokeping
Apache License 2.0
556 stars 73 forks source link

Docker config location? #80

Closed mcdent closed 1 year ago

mcdent commented 1 year ago

Hi, I'm looking for info on the name of the config file and location of said file, so I can export a volume. Thanks Mike

SuperQ commented 1 year ago

There is no config flie by default, so you can map it to wherever you want and pass the location in as an argument.

v4rakh commented 1 year ago

Stumbled on it by accident, so I guess @mcdent is looking for something like the following in a docker-compose setup?!

...
volumes:
   - ./config.yml:/etc/smokeping_prober.yml
command: --config.file=/etc/smokeping_prober.yml