Closed oijkn closed 3 years ago
A colleague found the solution, we must remove the double quotes ":9469"
version: '3'
services:
script_exporter:
command:
- '-config.file=/opt/examples/config.yaml'
- '-web.listen-address=:9469'
container_name: 'script_exporter'
image: 'ricoberger/script_exporter:v2.4.0'
ports:
- '9469:9469'
volumes:
- '/data/script_exporter/examples:/opt/examples'
Hi @oijkn, thanks for sharing your solution.
I added a Docker Compose file, based on your solution to the repository.
I am trying to configure the
docker-compose.yml
file but it doesn't seem to work. On the other hand by making adocker run
command I do not have any problem.What works :
Script Exporter
Metrics
Probe
What doesn't work :
Below is the log when I run the docker-compose :
As on your documentation nothing is specified about the parameters for the docker-compose, could you tell me how to make your docker work with a docker-compose, please ? Thanks