diff --git a/README.md b/README.md
index 0254f48..817b7c6 100644
--- a/README.md
+++ b/README.md
@@ -71,7 +71,7 @@ The following is a simple docker-compose file to run the exporter.
 version: "2"
 services:
   exporter:
-    registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:latest
+    image: registry.gitlab.com/hectorjsmith/fail2ban-prometheus-exporter:latest
     volumes:
     - /var/lib/fail2ban/fail2ban.sqlite3:/app/fail2ban.sqlite3:ro
     ports: