Browse Source

Include Docker Compose setup in README

Added Docker Compose instructions to README.

Signed-off-by: Tim Jones <t.jones@timmoth.com>
Tim Jones 1 tháng trước cách đây
mục cha
commit
c0577538cf
1 tập tin đã thay đổi với 21 bổ sung0 xóa
  1. 21 0
      README.md

+ 21 - 0
README.md

@@ -48,7 +48,28 @@ docker run -d \
 config/
 └── config.yaml
 ```
+Or Docker compose
+```yaml
+version: "3.9"
+
+services:
+  rackpeek:
+    image: aptacode/rackpeek:latest
+    container_name: rackpeek
+    ports:
+      - "8080:8080"
+    volumes:
+      - rackpeek-config:/app/config
+    restart: unless-stopped
+
+volumes:
+  rackpeek-config:
 
+```
+
+```bash
+docker compose up -d
+```
 ## Core Values
 
 **Simplicity**