ipmi_exporter/docker-compose.yml
Conrad Hoffmann 77dcb3fcae Fix docker-compose command
The given arguments get appended to the containers entrypoint.
2023-03-14 11:37:13 +01:00

13 lines
381 B
YAML

version: '3.7'
services:
ipmi_exporter:
build:
context: .
command: --config.file /config.yml
volumes:
- ./ipmi_remote.yml:/config.yml:ro # replace with your own config
ports:
- 9290:9290 # bind on 0.0.0.0
# - 127.0.0.1:9290:9290 # or bind to specific interface
hostname: ipmi_exporter_docker