From c1210f6ddbc00e5e64ea2b77ba02342b586d1c92 Mon Sep 17 00:00:00 2001 From: Tetra Date: Tue, 17 May 2022 18:28:47 -0400 Subject: [PATCH] fix example --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 50b84b9..2d2d124 100644 --- a/README.md +++ b/README.md @@ -3,14 +3,17 @@ A simple API that returns the status of all running Docker containers. # Example docker-compose + ```yaml version: "3" services: - container-status: - image: "ghcr.io/tetra-fox/container-status:latest" - ports: - - "3621:80" + container-status: + image: "ghcr.io/tetra-fox/container-status:latest" + ports: + - "3621:80" + volumes: + - /var/run/docker.sock:/var/run/docker.sock ``` # Endpoints