diff --git a/docker-compose.yml b/docker-compose.yml index a6f6c199..6a2cb1a1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: - "3306:3306" mysqld-exporter: - image: prom/mysqld-exporter:v0.15.1 + build: . container_name: mysqld-exporter command: - '--mysqld.address=mysql:3306'